A very dark reddish gray, white text passes AA
Tailwind taupe-900
In Tailwind CSS 4.3.3, taupe-900 is defined as oklch(21.4% 0.009 43.1); in hex that is #1d1816, or rgb(29 24 22). White text on it reaches 17.58:1, passing WCAG AAA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-taupe-900), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(21.4% 0.009 43.1) |
| Hex | #1d1816 |
| RGB | rgb(29 24 22) |
| HSL | hsl(17 14% 10%) |
| CSS variable | var(--color-taupe-900) |
| Nearest CSS name | midnightblue #191970, 0.167 away in OKLab |
| White text | 17.58:1: AA passes, AAA passes, large text passes |
| Black text | 1.19:1: AA fails, AAA fails, large text fails |
About taupe-900
In OKLCH, taupe-900 has a lightness of 21.4%, a chroma of 0.009 and a hue of 43.1 degrees, which makes it a very dark reddish gray. The step up to taupe-800 is 5.4 points of lightness, and the step down to taupe-950 6.7 points.
HSL calls its lightness 10%, OKLCH 21.4%: 11 points between a formula and a measure of what the eye sees. The value lies inside sRGB, the gamut of a hex code, so taupe-900 converts to #1d1816 without losing chroma.
For text, taupe-900 wants white: 17.58:1 clears even AAA's 7:1, and black at 1.19:1 fails AA. White text passes on every taupe shade from taupe-500 down, so taupe-900 is 4 shades past the line.
No CSS named color comes near it: the closest, midnightblue (#191970), is 0.167 away in OKLab.
Tints and shades
- #d5d3d4
- #aca9aa
- #858182
- #605b5c
- #3d3839
- #1d1816
- #141011
- #0c090a
- #050404
- #010101
From light to dark: 5 toward white and 4 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
- #1d1816
- #e3b0be
- #6b4950
- #ffe0ee
- #b95876
Locked as the first of five swatches, taupe-900 gets #e3b0be, #6b4950, #ffe0ee, #b95876 from Recolor's generator, a monochromatic palette, one hue in five lightnesses. The seed is its hex, so the palette stays the same. Open it in Recolor.
Using taupe-900
Pair it with text-white, 17.58:1; taupe-900 as text on a white page measures the same ratio. In CSS it is var(--color-taupe-900).
<a class="bg-taupe-900 text-white" href="/start">Get started</a>
<p class="text-taupe-900">Text in taupe-900</p>Common questions
Does white text pass WCAG AA on Tailwind taupe-900?
Yes. White text measures 17.58:1 on taupe-900, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind taupe-900 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-taupe-900: oklch(21.4% 0.009 43.1); #1d1816 is its conversion to sRGB.
Is there a CSS named color for Tailwind taupe-900?
No. The nearest CSS named color is midnightblue (#191970), 0.167 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org