OKLCH Studio · color reference
red-500 in OKLCH
Tailwind v4 red-500: oklch(0.637 0.237 25.3), HEX #FB2C36. WCAG + APCA pairs, Fix deep links, and @theme snippet.
red-500 is Tailwind’s default brand stop — strong for accents and buttons. Verify text on this swatch with Fix; many 500s fail white-on-color for body text.
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.81:1 · Fail · Lc 64
#FB2C36 on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion3.81:1 · Fail · Lc 69
#FFFFFF on #FB2C36
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch5.52:1 · AA · Lc 40
#000000 on #FB2C36
Open in Contrast → - Fix → AA on white5.13:1 · AA · Lc 72
#DD001A on #FFFFFF
Open in Contrast → - Suggested text on swatch5.11:1 · AA · Lc 40
#0D0D0D on #FB2C36
Open in Contrast →
Dark surface pairing
Against #121212: This stop already passes AA as text on #121212 (4.92:1).
Copy code
@theme {
--color-red-500: oklch(0.637 0.237 25.3);
}Related
Convert #FB2C36
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