CSS Color Spaces & WCAG 2.1 ReferencePerceptual color models, OKLCH benefits, and accessibility thresholds.
Minimum 4.5:1 for normal text (< 18pt/24px) and 3:1 for large text (>= 18pt/24px or 14pt bold).
>= 4.5:1
Enhanced 7:1 for normal text and 4.5:1 for large text.
>= 7.0:1
Perceptually uniform color model: L (Lightness 0-1), C (Chroma 0-0.4), H (Hue 0-360).
oklch(0.6 0.25 270)
Photometric measure of radiant power weighted by human spectral sensitivity (0 = black, 1 = white).
L = 0.2126R + 0.7152G + 0.0722B
Tailwind-compatible 50-950 luminance stepping for coherent UI palettes.
50 (lightest) to 950 (darkest)
Space-separated arguments with optional slash for alpha channel.
rgb(99 102 241 / 80%)