Color, WCAG Contrast & CSS Lab
HEX/RGB/HSL converter, WCAG 2.1 AA/AAA contrast audit, palettes, gradients & CSS shadows
100% Client-Side (0 Bytes Uploaded) Drive Vault
Loading local browser engine...
About Color, WCAG Contrast & CSS Lab & FAQs
Design-system studio for frontend developers: pick and convert HEX/RGB/HSL colors, verify WCAG 2.1 AA and AAA contrast ratios for normal and large text, generate color shade scales, and craft copy-paste CSS gradients and neo-brutal/soft shadows.
How is WCAG contrast calculated?
Using the official W3C WCAG 2.1 relative luminance formula, checking 4.5:1 for AA normal text, 3:1 for AA large text/UI, and 7:1 for AAA normal text.
Extensible Module
Extendable with OKLCH perceptual scales, color-blindness preview filters, CSS clamp() fluid typography, and Tailwind v4 @theme token export.
Module path:
Read Extensibility Guide →src/tools/color-lab/