OKLCH Studio · color reference
CSS color grey in OKLCH
Named CSS color grey: oklch(0.600 0.000 0.0), HEX #808080. Contrast pairs (WCAG + APCA) and Fix links.
CSS “grey” is near-neutral — useful for text and borders; still verify AA on your exact surface.
Contrast pairs
WCAG 2.1 normal text + APCA Lc. Open a pair in the live Fix tool — informational only, not a legal audit.
- Text on white3.95:1 · Fail · Lc 67
#808080 on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion3.95:1 · Fail · Lc 72
#FFFFFF on #808080
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch5.32:1 · AA · Lc 37
#000000 on #808080
Open in Contrast → - Fix → AA on white4.67:1 · AA · Lc 72
#747474 on #FFFFFF
Open in Contrast → - Suggested text on swatch4.92:1 · AA · Lc 37
#0D0D0D on #808080
Open in Contrast →
Dark surface pairing
Against #121212: grey already passes AA on #121212.
Copy code
:root {
--grey: oklch(0.600 0.000 0.0);
}Related
Keep exploring
Static reference — the live Fix tool uses the same WCAG math with Undo and share links.
Contrast Fix →OKLCH Studio homeTailwind indexCSS names index