A vivid dark red, white text passes AA
Tailwind rose-800
Tailwind rose-800 is oklch(45.5% 0.188 13.697) in Tailwind CSS 4.3.3, which is #a50036 as the nearest sRGB hex and rgb(165 0 54). White text on it reaches 7.92:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-rose-800), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(45.5% 0.188 13.697) |
| Hex | #a50036, the nearest color in sRGB |
| RGB | rgb(165 0 54) |
| HSL | hsl(340 100% 32%) |
| OKLCH of the hex | oklch(45.9% 0.184 14.6) |
| CSS variable | var(--color-rose-800) |
| Nearest CSS name | brown #a52a2a, 0.046 away in OKLab |
| White text | 7.92:1: AA passes, AAA passes, large text passes |
| Black text | 2.65:1: AA fails, AAA fails, large text fails |
About rose-800
Tailwind rose-800 is a vivid dark red: OKLCH lightness 45.5%, chroma 0.188, hue 13.7 degrees. On Tailwind's rose scale it sits between rose-700 at 51.4% and rose-900 at 41.0%.
HSL calls its lightness 32%, OKLCH 45.5%: 13 points between a formula and a measure of what the eye sees. Its value lies outside sRGB, the colors a hex code can name: #a50036 is what CSS Color 4's gamut mapping makes of it, chroma 0.184 instead of 0.188, moving 0.4 points of lightness and 0.9 degrees of hue. A wide-gamut screen shows the stronger original.
White text on rose-800 measures 7.92:1, past the 7:1 of WCAG AAA, while black text manages only 2.65:1. White text passes on every rose shade from rose-600 down, so rose-800 is 2 shades past the line.
The closest CSS named color is brown (#a52a2a), 0.046 away in OKLab: near, and still a visible step from it side by side.
Tints and shades
- #f5dadb
- #e9b4b8
- #db9095
- #cb6a74
- #b94255
- #a50036
- #810028
- #5e001b
- #3d000f
- #1f0005
- #060001
From light to dark: 5 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
- #a50036
- #ffdde0
- #5c87c5
- #2f1d1e
- #b4cda9
Recolor's generator, with rose-800 locked as swatch 1 and the seed taken from its hex, drew a triadic palette, three hues a third of the wheel apart: #ffdde0, #5c87c5, #2f1d1e, #b4cda9. Open it in Recolor.
Using rose-800
Pair it with text-white, 7.92:1; rose-800 as text on a white page measures the same ratio. In CSS it is var(--color-rose-800).
<a class="bg-rose-800 text-white" href="/start">Get started</a>
<p class="text-rose-800">Text in rose-800</p>Common questions
Does white text pass WCAG AA on Tailwind rose-800?
Yes. White text measures 7.92:1 on rose-800, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind rose-800 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-rose-800: oklch(45.5% 0.188 13.697); #a50036 is its nearest sRGB color, since the value lies outside sRGB.
Is there a CSS named color for Tailwind rose-800?
No. The nearest CSS named color is brown (#a52a2a), 0.046 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org
- CSS Color Module Level 4: gamut mapping w3.org