CMYK ↔ RGB ↔ HEX Color Converter
About LAB ↔ RGB Converter
The CIE $L^*a^*b^*$ to RGB (and CSS `lab()`) Color Converter translates device-independent, perceptually uniform Lab color coordinates ($L \in [0, 100], a \in [-128, 127], b \in [-128, 127]$) into sRGB pixel values and Hex codes using D65 illuminant matrices.
How to Use LAB ↔ RGB Converter
Step 1
Enter Lightness ($L^*$: 0 to 100), Green-Red axis ($a^*$: -128 to 127), and Blue-Yellow axis ($b^*$: -128 to 127).
Step 2
Review computed sRGB channel values and Hex color code.
Step 3
Click "Copy RGB" or "Copy Hex".
Practical Use Cases for LAB ↔ RGB Converter
Implementing Modern CSS `lab()` Colors
Convert laboratory spectrophotometer measurements into modern CSS `lab(58.3% 16.2 -53.8)` and fallback sRGB values.
Calculating Perceptually Uniform Color Gradients
Interpolate colors in CIELAB space to eliminate muddy gray dead-zones between contrasting hues.
Input & Output Examples
Converting CIELAB to RGB
`lab(53.24% 80.09 67.20)`
RGB: `rgb(255, 0, 0)` | Hex: `#ff0000` | Illuminant: D65 (2° observer)
Key Features & Performance
- ✓Two-way conversion: CIELAB $\\leftrightarrow$ CIE XYZ $\\leftrightarrow$ sRGB $\\leftrightarrow$ Hex.
- ✓Supports modern CSS Color Module Level 4 `lab(L a b)` syntax.
- ✓Flags out-of-gamut sRGB clipping and applies perceptual gamut mapping.
- ✓100% Client-Side scientific matrix math.
- ✓1-Click Copy RGB or CSS `lab()` code.
Key Terminology & Definitions
CIELAB Color Space ($L^*a^*b^*$)
A color space defined by the International Commission on Illumination (CIE) designed to be perceptually uniform with human vision.
D65 Standard Illuminant
A standardized spectral power distribution corresponding to average midday daylight in Western/Northern Europe, used as the reference white point.
