Color Converter & Contrast

HEX/RGB/HSL/HSV/OKLCH conversion plus WCAG contrast checks.

Free color converter: turn any color to HEX, or convert HEX, RGB, HSL, HSV and OKLCH — plus WCAG contrast checks. Runs in-browser, nothing uploaded.

About Color Converter & Contrast

Color Converter translates colours between HEX, RGB, HSL, HSV and OKLCH, and checks WCAG contrast ratios for accessible text — a fast reference for designers and front-end developers.

How to use Color Converter & Contrast

  1. Enter a colour in any supported format (HEX, RGB, HSL, HSV, OKLCH).
  2. See it converted to every other format instantly.
  3. Check the WCAG contrast of two colours for accessible text.

Frequently asked questions

What contrast ratio do I need?
WCAG AA needs 4.5:1 for normal text and 3:1 for large text; AAA needs 7:1. The tool flags whether a pair passes.
What is OKLCH?
OKLCH is a modern, perceptually-uniform colour space that makes lightness and chroma adjustments look consistent to the eye.

People also search for

Color Converter & Contrast is also known as color to hex, color name to hex, hex color picker, hsl to rgb, oklch converter, color format converter.