Color Converter

Enter a color in any format below — the others update automatically.

Sponsored
AA needs 4.5:1 for normal text (3:1 large); AAA needs 7:1 (4.5:1 large).
Sponsored
/* single ad unit — insert AdSense/Ezoic code here */

How it works

Convert colours between HEX, RGB, HSL, LAB and OKLCH, preview them, and check WCAG contrast for accessible text. Everything updates live in your browser.

Frequently asked questions

Which colour formats are supported?

HEX, RGB, HSL, LAB and OKLCH, all kept in sync — change one and the rest update instantly, so you can work in whichever space you prefer.

What is OKLCH and why use it?

OKLCH is a modern, perceptually-uniform colour space, meaning equal numeric steps look like equal visual steps. It's excellent for building consistent, accessible colour scales.

How does the contrast checker help?

It calculates the WCAG contrast ratio between two colours and tells you whether it passes AA and AAA, so your text stays readable for everyone.

Is LAB useful for design?

LAB is device-independent and perceptually oriented, which makes it handy for judging whether two colours are genuinely close in appearance rather than just numerically.