Eleven shades, from pink-50 to pink-950
Tailwind pink colors
Tailwind CSS 4.3.3 defines eleven pink shades in OKLCH, from pink-50 (#fdf2f8) to pink-950 (#510424). On them white text passes WCAG AA from pink-600 to pink-950, and black text from pink-50 to pink-600. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#fdf2f8
- 100#fce7f3
- 200#fccee8
- 300#fda5d5
- 400#fb64b6
- 500#f6339a
- 600#e60076
- 700#c6005c
- 800#a3004c
- 900#861043
- 950#510424
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| pink-50 | oklch(97.1% 0.014 343.198) | #fdf2f8 | 1.09:1 fails | 19.23:1 passes |
| pink-100 | oklch(94.8% 0.028 342.258) | #fce7f3 | 1.18:1 fails | 17.86:1 passes |
| pink-200 | oklch(89.9% 0.061 343.231) | #fccee8 | 1.39:1 fails | 15.13:1 passes |
| pink-300 | oklch(82.3% 0.12 346.018) | #fda5d5 | 1.82:1 fails | 11.52:1 passes |
| pink-400 | oklch(71.8% 0.202 349.761) | #fb64b6 | 2.76:1 fails | 7.60:1 passes |
| pink-500 | oklch(65.6% 0.241 354.308) | #f6339a | 3.58:1 fails | 5.86:1 passes |
| pink-600 | oklch(59.2% 0.249 0.584) | #e60076 | 4.54:1 passes | 4.63:1 passes |
| pink-700 | oklch(52.5% 0.223 3.958) | #c6005c | 5.91:1 passes | 3.56:1 fails |
| pink-800 | oklch(45.9% 0.187 3.815) | #a3004c | 7.89:1 passes | 2.66:1 fails |
| pink-900 | oklch(40.8% 0.153 2.432) | #861043 | 9.68:1 passes | 2.17:1 fails |
| pink-950 | oklch(28.4% 0.109 3.907) | #510424 | 15.08:1 passes | 1.39:1 fails |
Text on pink, and pink as text
For pink text the same lines hold in reverse: on white, use pink-600 or darker; on black, pink-600 or lighter. Contrast does not care which color sits behind.
The most colorful shade is pink-600, chroma 0.249; the hue moves 353.7 degrees between pink-50 and pink-950.
Of the eleven values, 3 reach beyond sRGB; for those the hex is a gamut-mapped stand-in with less chroma.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org