A pale gray, black text passes AA
Tailwind zinc-50
In Tailwind CSS 4.3.3, zinc-50 is defined as oklch(98.5% 0 none); in hex that is #fafafa, or rgb(250 250 250). Black text on it reaches 20.12:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-zinc-50), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(98.5% 0 none) |
| Hex | #fafafa |
| RGB | rgb(250 250 250) |
| HSL | hsl(0 0% 98%) |
| CSS variable | var(--color-zinc-50) |
| Nearest CSS name | snow #fffafa, 0.007 away in OKLab |
| White text | 1.04:1: AA fails, AAA fails, large text fails |
| Black text | 20.12:1: AA passes, AAA passes, large text passes |
About zinc-50
In OKLCH, zinc-50 has a lightness of 98.5%, a chroma of 0.000 and no hue, which makes it a pale gray. As the first of the eleven zinc shades it sits closest to white, 1.5 points below it and 1.8 points above zinc-100.
Here HSL's lightness, 98%, lands near OKLCH's 98.5%, which is not true of every color. The value lies inside sRGB, the gamut of a hex code, so zinc-50 converts to #fafafa without losing chroma.
For text, zinc-50 wants black: 20.12:1 clears even AAA's 7:1, and white at 1.04:1 fails AA. On the zinc scale black text works down to zinc-400, which leaves zinc-50 4 shades of margin.
The CSS keyword snow (#fffafa) is almost the same color: 0.007 apart in OKLab, under the step most people notice.
Tints and shades
- #fefefe
- #fdfdfd
- #fcfcfc
- #fbfbfb
- #fafafa
- #c4c4c4
- #919191
- #616161
- #353535
- #0e0e0e
From light to dark: 4 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.
A palette around it
- #fafafa
- #997d57
- #302732
- #83ced5
- #564460
Locked as the first of five swatches, zinc-50 gets #997d57, #302732, #83ced5, #564460 from Recolor's generator, a triadic palette, three hues a third of the wheel apart. The seed is its hex, so the palette stays the same. Open it in Recolor.
Using zinc-50
Pair it with text-black, 20.12:1; zinc-50 as text on a black page measures the same ratio. In CSS it is var(--color-zinc-50).
<a class="bg-zinc-50 text-black" href="/start">Get started</a>
<p class="text-zinc-50">Text in zinc-50</p>Common questions
Does white text pass WCAG AA on Tailwind zinc-50?
No. White text measures 1.04:1 on zinc-50, under AA's 4.5:1; black text measures 20.12:1 and passes. The lightest zinc shade for white text is zinc-500.
Is Tailwind zinc-50 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-zinc-50: oklch(98.5% 0 none); #fafafa is its conversion to sRGB.
Is there a CSS named color for Tailwind zinc-50?
Yes, nearly: snow (#fffafa) is 0.007 away in OKLab, too close to tell apart by eye.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org