A vivid very dark red, white text passes AA
Tailwind rose-950
The hex code of Tailwind rose-950 is #4d0218 (rgb(77 2 24)), from its Tailwind CSS 4.3.3 value oklch(27.1% 0.105 12.094). White text on it reaches 15.70:1, passing WCAG AAA; below, Recolor (recolor.page) puts it on a page.
Last updated
--color-rose-950), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(27.1% 0.105 12.094) |
| Hex | #4d0218 |
| RGB | rgb(77 2 24) |
| HSL | hsl(342 95% 15%) |
| CSS variable | var(--color-rose-950) |
| Nearest CSS name | maroon #800000, 0.124 away in OKLab |
| White text | 15.70:1: AA passes, AAA passes, large text passes |
| Black text | 1.34:1: AA fails, AAA fails, large text fails |
About rose-950
Read as numbers, rose-950 is lightness 27.1%, chroma 0.105 and hue 12.1 degrees; read by eye, it is a vivid very dark red. It closes the rose scale as its darkest shade, 13.9 points of lightness below rose-900.
HSL calls its lightness 15%, OKLCH 27.1%: 12 points between a formula and a measure of what the eye sees. No gamut mapping is needed here: oklch(27.1% 0.105 12.094) sits inside sRGB and #4d0218 matches it.
White on rose-950 reads at 15.70:1, enough for AAA body text; black reaches 1.34:1 and should stay off it. White text passes on every rose shade from rose-600 down, so rose-950 is 4 shades past the line.
No CSS named color comes near it: the closest, maroon (#800000), is 0.124 away in OKLab.
Tints and shades
- #e2d2d4
- #c5a7aa
- #a87e82
- #8a565c
- #6c2f39
- #4d0218
- #3a0110
- #290109
- #180004
- #090001
- #010000
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
- #4d0218
- #5085b8
- #ffd3d4
- #7f3b46
- #9cd571
Around rose-950 as swatch 1, Recolor's generator made a triadic palette, three hues a third of the wheel apart: #5085b8, #ffd3d4, #7f3b46, #9cd571, drawn from a seed fixed by its hex. Open it in Recolor.
Using rose-950
Pair it with text-white, 15.70:1; rose-950 as text on a white page measures the same ratio. In CSS it is var(--color-rose-950).
<a class="bg-rose-950 text-white" href="/start">Get started</a>
<p class="text-rose-950">Text in rose-950</p>Common questions
Does white text pass WCAG AA on Tailwind rose-950?
Yes. White text measures 15.70:1 on rose-950, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.
Is Tailwind rose-950 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-rose-950: oklch(27.1% 0.105 12.094); #4d0218 is its conversion to sRGB.
Is there a CSS named color for Tailwind rose-950?
No. The nearest CSS named color is maroon (#800000), 0.124 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org