🎨
β™Ώ

Check Colour Contrast for Accessibility

Convert colours to get RGB values for use in contrast ratio tools β€” WCAG compliance for accessible design.

Tiada log masuk diperlukan

Accepts: HEX (#fff or #ffffff), RGB (255, 255, 255), or HSL (360, 100%, 50%)

Presets:
HEX#14B8A6
RGBrgb(20, 184, 166)
HSLhsl(173, 80%, 40%)
HSVhsv(173, 89%, 72%)
CMYKcmyk(89%, 0%, 10%, 28%)
CSS RGB20, 184, 166

Lightness scale

Click any swatch to switch to that shade

Accessibility tips

β™Ώ

WCAG 2.1 requires 4.5:1 contrast between text and background (AA), or 7:1 for enhanced (AAA) accessibility.

πŸ’‘

Get the RGB values for both your text and background colours here, then paste them into a contrast checker like WebAIM's Contrast Checker.

🎨

Use the lightness scale to find a shade of your brand colour that passes contrast requirements while staying on-brand.

πŸ”

Teal and mid-range colours often fail contrast checks against white. Try L=30–40% in HSL for dark enough versions that pass 4.5:1.

Cara ia berfungsi

1
Masukkan
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Muat turun
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Mengapa alat kami?

βœ“Percuma sepenuhnya β€” tiada kos tersembunyi, selama-lamanya
βœ“Tiada akaun, e-mel atau log masuk diperlukan
βœ“Fail tidak pernah meninggalkan peranti anda
βœ“Tiada had saiz fail langsung
βœ“Tiada tera air pada sebarang output

Also check out…

Soalan lazim