OKLCH Color Converter
Set lightness, chroma and hue to get a hex code — or paste a hex code to read its OKLCH values.
OKLCH is CSS Color 4's perceptually uniform color space. Its lightness axis matches how eyes actually perceive brightness, and equal steps in chroma look like equal steps in saturation — which is why whole design systems have moved their palettes to it. The catch is that OKLCH is a different coordinate system to hex, so this converter translates between the two in both directions and shows where a value falls outside the sRGB gamut.
Frequently asked questions
oklch(L C H) takes a lightness percentage, a chroma number (0 to about 0.37 for sRGB colors) and a hue angle. It is supported in all current browsers and can express the P3 colors that hex cannot.
Good to know
- OKLCH is OKLab expressed in cylindrical form — lightness, chroma, hue.
- Lightness 0% is black and 100% is white in both OKLCH and LCH-style models.
- Hex codes cannot represent P3 colors, so a highly chromatic OKLCH value clips when converted.
Tools that pair with OKLCH Color Converter
OKLCH Color Converter is one of 33 single-page tools in this workspace. These are the ones that carry the job on — the color value moves between them, so nothing gets retyped or re-uploaded.