Colour converter and contrast checker
Hex / RGB / HSL / OKLCH converter, WCAG + APCA contrast, tonal ramps, schemes, CVD preview, palette matrix.
About this tool
Converts colours between hex, RGB, HSL, and OKLCH, and checks foreground against background with both WCAG 2 contrast ratios and APCA. It also builds tonal ramps and schemes, previews colour-vision deficiencies, and lays out a palette matrix.
Good for
- Checking that text colours pass WCAG AA before they reach a design system
- Building a perceptually even ramp in OKLCH
- Seeing how a palette reads under common colour-vision deficiencies
Not for
- Formal accessibility sign-off: contrast is one criterion among many, and APCA isn't part of WCAG 2 conformance
- Print or colour-managed work: everything here is sRGB on your screen