OKLCH Color Picker & Converter.
OKLCH is the modern color space - perceptually uniform, predictable, and designed for the web. The L (lightness) and C (chroma) values mean what you'd expect; H (hue) wraps from 0 to 360. Convert anything to it.
OKLCH is the modern color space - perceptually uniform, predictable, and designed for the web. The L (lightness) and C (chroma) values mean what you'd expect; H (hue) wraps from 0 to 360. Convert anything to it.
OKLCH is a perceptually uniform color space with three channels: lightness (0 to 1), chroma (0 upward) and hue (0 to 360 degrees). The OKLCH converter turns HEX, RGB or HSL into OKLCH and back, writes CSS oklch() syntax, and flags colors outside the sRGB gamut.
In HSL, a yellow and a blue with the same lightness value look nothing alike in brightness. In OKLCH they do, which makes building scales, themes and accessible palettes far more predictable. CSS Color Level 4 supports oklch() in every current browser, and Tailwind v4 uses it for its default palette. The converter also shows the P3 version and warns when a chroma value cannot be displayed on sRGB screens.
Paste the HEX here to get lightness, chroma and hue with CSS-ready oklch() syntax.
Both use lightness, chroma and hue, but OKLCH is based on the Oklab model, which fixes hue shifts in blues that CIELAB-based LCH has. OKLCH is the one to use for UI work.
Yes, all current versions of Chrome, Edge, Safari and Firefox. Add a HEX fallback for very old browsers.