Convert colours between HEX, RGB, HSL, CMYK and OKLCH, pick colours visually, and check WCAG contrast ratios as you work.
3 tools in this category.
Convert a colour between every common format — including OKLCH — with WCAG contrast ratios included.
Pick a colour visually and get every format, a tint/shade ramp and live WCAG contrast feedback.
Check any text colour against any background for WCAG AA and AAA — a whole palette at a time, with alpha composited properly.
Three tools that cover the colour work a developer actually does: converting between notations, picking a value visually, and checking whether the result is legible. The Color Converter handles HEX, RGB, HSL, CMYK and OKLCH; the Color Picker gives you a visual surface with live values in every format; the Color Contrast Checker measures a foreground and background pair against the WCAG thresholds.
OKLCH is worth understanding rather than skipping past. HSL has a well-known flaw: two colours with the same lightness value can look wildly different in brightness, because the number is a geometric artefact of the RGB cube rather than a measure of perceived light. Yellow at 50% HSL lightness is far brighter than blue at 50%. OKLCH is built on a perceptual model, so equal lightness values genuinely look equally light — which is what makes it possible to build a palette by varying hue at fixed lightness and get a consistent set rather than a lucky one.
Contrast is the part with a legal dimension in many jurisdictions. WCAG 2 requires 4.5:1 for normal text and 3:1 for large text at level AA, rising to 7:1 and 4.5:1 at AAA. The ratio is computed from relative luminance, which is emphatically not the same as the lightness slider in a colour picker, and this is why pairs that look fine to a designer with a good monitor fail for a reader on a phone in daylight.