ColorToolkits
Format Converter

CIE LAB to Hex Converter

Translate CSS Color Level 4 lab(L% a b) values into clamped web-safe HEX strings.

Converted (HEX)
#de4c55
#DE4C55
Try presets:

How to Use This Tool

  1. Enter or paste your CIE LAB value or choose one of the curated preset swatches.
  2. Copy the formatted HEX value directly, or inspect the secondary HEX, RGB, HSL, and OKLCH chips below.
  3. Click into Tailwind Scale Generator or Contrast Checker to validate accessibility on the converted shade.

Key Features

  • Bidirectional parsing supporting CSS Color Level 4 syntax cleanly
  • CIE LAB coordinates invert through CIE standard illuminant D65 XYZ matrices into linear sRGB, applying OKLCH perceptual gamut clamping if outside sRGB.
  • Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
  • Zero server round-trips—every calculation executes immediately in browser memory

Inverse CIE LAB through D65 Linear RGB

CIE LAB coordinates invert through CIE standard illuminant D65 XYZ matrices into linear sRGB, applying OKLCH perceptual gamut clamping if outside sRGB.

Reference Snippet (CSS Color 4 Fallback)

:root {
  --brand: #de434b;
  --brand-lab: lab(54% 58 28);
}

Frequently Asked Questions

More Color Tools

View all tools →