Menu

HEX → LAB Converter

Enter any hex color and get its CIE Lab (L*a*b*) coordinates — plus XYZ, RGB, HSL, OKLCH, contrast ratios and a live preview. Perfect for print workflows, color matching and delta-E calculations.

Input HEX

Accepts #RGB, #RGBA, #RRGGBB, #RRGGBBAA with or without the leading #.

LAB channels

L* Lightness0
a* green ↔ red0
b* blue ↔ yellow0

a* > 0 leans red, a* < 0 leans green. b* > 0 leans yellow, b* < 0 leans blue. L* runs 0 (black) → 100 (white).

Quick presets

LAB neighbors

Colors shifted ±10 in a* and b* from your input. Useful for seeing how a colour moves through LAB space.


        

Live preview

lab(29.5% 26.1 -71.4)
Acme UI

Preview surface

Text on white, muted text, and a button using your color as its background.

Subtle background derived from your color.

Channel values

Contrast checks (WCAG 2, 4.5:1)

✓ Copied!