Color Contrast Checker
Check any text and background pair against WCAG AA and AAA.
Convert LCH to HEX and RGB — LAB in polar form, as CSS uses it.
The lch() value appears here
The LCH Color Converter works in CIELAB’s polar form — lightness, chroma and hue — converting to sRGB with proper CSS Color 4 gamut mapping instead of channel clipping, and saying when a colour cannot be displayed at all.
LCH is CIELAB expressed in polar coordinates, which makes it far easier to work with. Instead of the abstract a and b axes you get lightness, chroma — how colourful it is — and hue as an angle, the three things a designer actually adjusts.
The advantage over HSL is that lightness means the same thing at every hue. In HSL, changing hue while holding lightness produces colours of wildly different brightness; in LCH it does not, which is what makes it the right space for building a colour scale with even steps.
The catch is gamut. LCH can describe colours far more saturated than a screen can display, so a chroma of 130 at most hues simply does not exist in sRGB. The converter flags this and maps the colour the way CSS Color 4 specifies — hold lightness and hue, reduce chroma until it fits — rather than clipping the channels and shifting the hue.
Unlike HSL, changing hue at a fixed lightness keeps the brightness — which is what makes an even scale possible.
Hold lightness and hue, reduce chroma until it fits, exactly as CSS Color 4 specifies. Clipping instead would shift the hue.
Most of LCH is not displayable. The tool tells you when you have left sRGB rather than silently substituting.
Paste a HEX code to read its LCH components, or build a colour from the sliders.
The lch() value with a HEX fallback for older browsers.
Drag the sliders or paste an lch() string.
HEX, RGB and HSL are produced together, with a live swatch.
If the colour cannot exist on screen, the tool says so and shows the mapped version.
Paste a HEX code to see its LCH components.
The same polar idea over a different space: LCH sits on CIELAB, OKLCH on OKLab. OKLCH behaves better through blue and purple, so it is the one to reach for when building scales or gradients. LCH remains useful where CIELAB is the reference.
There is no fixed maximum — it depends on the lightness and hue. sRGB tops out around 130 for the most saturated greens and far lower elsewhere. The tool tells you when you have gone past what the screen can show.
Because it has to. The mapping keeps lightness and hue and reduces chroma, which is the CSS Color 4 algorithm and the least visible compromise. Clipping the RGB channels instead would shift the hue, which is far more noticeable.
Yes, in every current browser. For older ones, use the HEX value here as a fallback declaration before the lch() one.
What people who use the LCH Color Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the LCH Color Converter. It takes half a minute and no account.
Write the first reviewCheck any text and background pair against WCAG AA and AAA.
Fill headline text with a gradient, and keep it selectable.
Build a duotone pair and get the CSS to apply it.
Turn one colour into a full 50–950 Tailwind scale.
Build CSS linear and radial gradients visually and copy the code.
See your colours as the eight percent of men who see them differently do.
Turn a palette into CSS custom properties, Tailwind tokens or Sass.
Compute WCAG relative luminance and see the maths behind it.