RGB → OKLAB
Convert standard RGB values into perceptually uniform OKLAB coordinates. Useful when building color systems that require predictable contrast steps, tone curves, or OKLCH gradients for CSS Color Level 4.
Preview
HEX
#e66746
Perceptual space
L
0.6640
a
0.1330
b
0.0970
CSS string
OKLCH helper
L
0.6640
C
0.1650
H°
36.1
OKLAB places equal perceptual steps along the a/b axes. OKLCH makes it easy to build gradients or palettes with consistent chroma and hue rotations.
The L value follows perceived brightness far better than HSL/HSV. That makes it ideal for typographic scales, contrast-aware themes, and accessible UI components.
CSS Color Level 4 introduces oklab() and oklch() functions, allowing native OKLAB colors in the browser. Use the values above directly in stylesheets or design tokens.