OKLCH to HEX
Convert OKLCH lightness, chroma and hue into a HEX code, RGB and HSL, and see whether the colour fits inside the sRGB gamut. Free oklch to hex converter.
Runs in your browser. Nothing is uploaded.
About OKLCH to HEX
Enter lightness as a percentage, chroma and hue in degrees to get the matching hex code. Useful when a design system is written in OKLCH but a tool, email template or older codebase needs hex.
OKLCH can describe colours more vivid than a standard screen (sRGB) can show. If your colour is outside that range, the result is clipped to the nearest displayable colour and the tool tells you so.
How to use OKLCH to HEX
- Enter your values in the fields.
- The answer updates instantly as you type.
- Press Copy result to save the breakdown.
Frequently asked questions
What does out of gamut mean?
The colour can't be shown exactly in sRGB, the range hex codes cover. Lower the chroma until it reports Yes.
What range should chroma be in?
0 is grey. Most usable colours sit between 0.05 and 0.25.
Is OKLCH to HEX free and private?
Yes. OKLCH to HEX is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.