A pinkish white, black text passes AA
Tailwind pink-50
Tailwind pink-50 is oklch(97.1% 0.014 343.198) in Tailwind CSS 4.3.3, which is #fdf2f8 in hex and rgb(253 242 248). Black text on it reaches 19.23:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.
Last updated
--color-pink-50), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(97.1% 0.014 343.198) |
| Hex | #fdf2f8 |
| RGB | rgb(253 242 248) |
| HSL | hsl(327 73% 97%) |
| CSS variable | var(--color-pink-50) |
| Nearest CSS name | lavenderblush #fff0f5, 0.006 away in OKLab |
| White text | 1.09:1: AA fails, AAA fails, large text fails |
| Black text | 19.23:1: AA passes, AAA passes, large text passes |
About pink-50
Tailwind pink-50 is a pinkish white: OKLCH lightness 97.1%, chroma 0.014, hue 343.2 degrees. As the first of the eleven pink shades it sits closest to white, 2.9 points below it and 2.3 points above pink-100.
Here HSL's lightness, 97%, lands near OKLCH's 97.1%, which is not true of every color. Its value fits inside sRGB, so #fdf2f8 is the same color, not an approximation.
Black text on pink-50 measures 19.23:1, past the 7:1 of WCAG AAA, while white text manages only 1.09:1. On the pink scale black text works down to pink-600, which leaves pink-50 6 shades of margin.
The CSS keyword lavenderblush (#fff0f5) is almost the same color: 0.006 apart in OKLab, under the step most people notice.
Tints and shades
- #fffdfd
- #fffbfc
- #fff8fa
- #fff6f8
- #fff4f7
- #fdf2f8
- #c8bec0
- #948c8e
- #635e5f
- #363334
- #0f0d0e
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
- #fdf2f8
- #794890
- #f4b869
- #082120
- #9d5cbd
Recolor's generator, with pink-50 locked as swatch 1 and the seed taken from its hex, drew a triadic palette, three hues a third of the wheel apart: #794890, #f4b869, #082120, #9d5cbd. Open it in Recolor.
Using pink-50
Pair it with text-black, 19.23:1; pink-50 as text on a black page measures the same ratio. In CSS it is var(--color-pink-50).
<a class="bg-pink-50 text-black" href="/start">Get started</a>
<p class="text-pink-50">Text in pink-50</p>Common questions
Does white text pass WCAG AA on Tailwind pink-50?
No. White text measures 1.09:1 on pink-50, under AA's 4.5:1; black text measures 19.23:1 and passes. The lightest pink shade for white text is pink-600.
Is Tailwind pink-50 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-pink-50: oklch(97.1% 0.014 343.198); #fdf2f8 is its conversion to sRGB.
Is there a CSS named color for Tailwind pink-50?
Yes, nearly: lavenderblush (#fff0f5) is 0.006 away in OKLab, too close to tell apart by eye.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org