Color Converter & Contrast Checker ยท Penukar Warna HEX, RGB, HSL
Convert colours between HEX, RGB and HSL, build tints and shades, and check WCAG text contrast.
Tints & shades
How do I convert HEX to RGB? Type or paste a HEX code such as #2563EB; the RGB and HSL values update instantly. You can also edit R, G and B directly.
Accessible Brand Colours & WCAG Contrast
Designers and web developers can convert colours instantaneously between HEX, RGB, and HSL, generate 9 balanced tints and shades with one-click HEX copy, and test foreground/background combinations against WCAG 2.1 AA (4.5:1) and AAA (7.0:1) readability standards โ including quick presets for Jalur Gemilang dark blue, red, and yellow.
How to use Color & WCAG Contrast
- Enter your Malaysian figures: Fill in the inputs above in Ringgit Malaysia (RM) or select your state, tier, or category.
- Review instant live results: Every breakdown updates automatically as you type, with a floating summary dock on mobile screens.
- Share or export: Tap Copy for WhatsApp or Save PNG Card to share clean results with family, HR, clients, or your accountant.
Part of our PDF, Image & Web Tools suite, verified against ISO/IEC Standards, WCAG 2.1, BNM Ringgit Format & Local Browser APIs guidelines. Runs 100% locally in your browser with zero server uploads and full offline PWA support.
Frequently asked questions
How do I convert HEX to RGB?
Type or paste a HEX code such as #2563EB; the RGB and HSL values update instantly. You can also edit R, G and B directly.
What contrast ratio passes WCAG AA?
Normal text needs at least 4.5:1 and large text (about 18pt, or 14pt bold) needs at least 3:1. AAA requires 7:1 for normal text.
What are the Jalur Gemilang colours?
This tool includes quick presets for commonly used Malaysian flag colours โ dark blue, red and yellow โ for designs such as Merdeka posters.