Skip to content
ZeroServer.tools

LAB to HEX Converter

Convert a CIE LAB color (D65 illuminant) to HEX and RGB, right in your browser.

0 = black, 100 = white

negative = green, positive = red

negative = blue, positive = yellow

#ff0000
rgb(255, 0, 0)
lab(53.24 80.09 67.20)

How LAB to HEX conversion works

CIE LAB (also written CIELAB or L*a*b*) is a perceptually uniform color space where L represents lightness (0–100), a represents the green–red axis, and brepresents the blue–yellow axis. Because LAB is device-independent, converting it to HEX requires an intermediate step: LAB is first converted to CIE XYZ using the D65 standard illuminant (the same white point used by sRGB and most displays), and the resulting XYZ values are then transformed into linear sRGB via the standard primaries matrix, gamma-encoded, and rounded to 8-bit RGB channels. Because LAB can describe colors outside the sRGB gamut (colors monitors can't physically display), some LAB inputs will produce a clamped, closest-match HEX value — this tool flags those cases.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools