OKLCH Color Picker
Pick a color in OKLCH — the perceptually uniform color space CSS now supports — and get its hex, RGB, and HSL equivalents instantly. Everything runs in your browser.
Click a value to copy it
#3B82F6rgb(59, 130, 246)hsl(217, 91%, 60%)hsv(217, 76%, 96%)cmyk(76%, 47%, 0%, 4%)Or start from a hex code
Free OKLCH color picker: set lightness, chroma, and hue with sliders and get the hex, RGB, and HSL instantly — or paste a hex code to convert it to OKLCH. Runs entirely in your browser, with an out-of-gamut warning when a color cannot display in sRGB.
OKLCH describes color the way your eyes see it: lightness, chroma, and hue. Set the three numbers and this page shows the exact hex, RGB, and HSL — and warns you when the color you asked for cannot display on a normal screen.
What is OKLCH?
OKLCH is a color space designed around how humans actually see color.
It has three numbers: L for lightness (0% is black, 100%
is white), C for chroma — how vivid the color is (0 is
grey, higher is more saturated) — and H for hue, the
angle around the color wheel (0° is red, 120° green, 240°
blue). CSS supports it directly: oklch(65% 0.21 33) is a
valid color in every modern browser.
Its advantage over HSL is that it is perceptually uniform: change L by 10 and the color looks 10 lighter, whatever the hue. In HSL, the same lightness number can look bright in yellow and dark in blue, which is why HSL palettes so often come out uneven. If you build a palette by stepping L in equal amounts at a fixed C and H, OKLCH gives you evenly spaced steps — HSL does not.
OKLCH values for common colors
| Color | Hex (click to copy) | OKLCH (click to copy) |
|---|---|---|
| Black | #000000 | oklch(0% 0 0) |
| White | #FFFFFF | oklch(100% 0 0) |
| Red | #FF0000 | oklch(62.8% 0.258 29) |
| Green | #008000 | oklch(52% 0.177 142) |
| Blue | #0000FF | oklch(45.2% 0.313 264) |
| Brand blue | #3B82F6 | oklch(62.3% 0.188 260) |
| Site orange | #F54927 | oklch(64.9% 0.214 33) |
Note how black is oklch(0% 0 0) and white is
oklch(100% 0 0) — chroma 0, because neither has any hue to
speak of. And note that the site's brand blue #3B82F6 sits at about 65%
lightness, which is why it reads as a medium blue rather than a dark
one.
About the gamut warning
OKLCH can describe colors no screen can display — a very vivid blue at
high lightness, for example. When you push the chroma slider past what
sRGB can show, this page does not fail: it shows the closest displayable
color and tells you it clipped. Lower the chroma until the warning clears
if you need a color that reproduces exactly on a normal screen. The same
clipping applies in CSS: a browser given an out-of-gamut
oklch() value maps it to the nearest displayable color.
Already on this site
You do not need this page to see OKLCH values: the main color picker shows the OKLCH value of the current color in its value row and in the floating color bar, and the color converter converts any hex, RGB, or HSL color to OKLCH. This page exists for the reverse direction — start from OKLCH numbers and see what color they make — and for the worked examples above.
Frequently asked questions
What does OKLCH stand for?
OKLCH stands for OK Lightness, Chroma, Hue. It is built on the Oklab color space (Björn Ottosson, 2020): L is perceptual lightness, C is chroma (vividness), and H is hue angle. CSS supports oklch() in all modern browsers.
Why use OKLCH instead of HSL?
OKLCH is perceptually uniform: equal steps in L look like equal steps in lightness for every hue, and equal steps in C look equally vivid. In HSL the same lightness number looks bright in yellow and dark in blue, so HSL palettes come out uneven.
What is a good chroma range for web colors?
Most displayable web colors sit between C 0 and about 0.2; vivid brand colors reach 0.25–0.3. Above roughly 0.32 most hues leave the sRGB gamut and get clipped — this page warns you when that happens.
How do I use OKLCH in CSS?
Write it directly: color: oklch(65% 0.21 33); — no conversion needed in modern browsers. For older browsers, copy the hex value from this page as a fallback and put the oklch() declaration after it.
Is the OKLCH value here the same as the main picker's?
Yes. The main color picker, the floating color bar, and this page all use the same conversion (the same matrices, in JavaScript and in the page build), so a color shows the same OKLCH value everywhere on this site.
Related tools
Color Picker · Color Converter · Hex to RGB · RGB to Hex · Tailwind Colors