Eleven shades, from rose-50 to rose-950
Tailwind rose colors
Tailwind CSS 4.3.3 defines eleven rose shades in OKLCH, from rose-50 (#fff1f2) to rose-950 (#4d0218). On them white text passes WCAG AA from rose-600 to rose-950, and black text from rose-50 to rose-600. Recolor (recolor.page) shows the scale on a real page.
Last updated
- 50#fff1f2
- 100#ffe4e6
- 200#ffccd3
- 300#ffa1ad
- 400#ff637e
- 500#ff2056
- 600#ec003f
- 700#c70036
- 800#a50036
- 900#8b0836
- 950#4d0218
| Shade | OKLCH | Hex | White text | Black text |
|---|---|---|---|---|
| rose-50 | oklch(96.9% 0.015 12.422) | #fff1f2 | 1.10:1 fails | 19.12:1 passes |
| rose-100 | oklch(94.1% 0.03 12.58) | #ffe4e6 | 1.20:1 fails | 17.49:1 passes |
| rose-200 | oklch(89.2% 0.058 10.001) | #ffccd3 | 1.42:1 fails | 14.83:1 passes |
| rose-300 | oklch(81% 0.117 11.638) | #ffa1ad | 1.92:1 fails | 10.95:1 passes |
| rose-400 | oklch(71.2% 0.194 13.428) | #ff637e | 2.86:1 fails | 7.34:1 passes |
| rose-500 | oklch(64.5% 0.246 16.439) | #ff2056 | 3.75:1 fails | 5.59:1 passes |
| rose-600 | oklch(58.6% 0.253 17.585) | #ec003f | 4.53:1 passes | 4.64:1 passes |
| rose-700 | oklch(51.4% 0.222 16.935) | #c70036 | 6.03:1 passes | 3.48:1 fails |
| rose-800 | oklch(45.5% 0.188 13.697) | #a50036 | 7.92:1 passes | 2.65:1 fails |
| rose-900 | oklch(41% 0.159 10.272) | #8b0836 | 9.61:1 passes | 2.19:1 fails |
| rose-950 | oklch(27.1% 0.105 12.094) | #4d0218 | 15.70:1 passes | 1.34:1 fails |
Text on rose, and rose as text
As a text color the rule turns around: rose text on a white page passes AA from rose-600 on, and on a black page up to rose-600, since a contrast ratio is the same whichever color is in front.
Chroma peaks at rose-600 (0.253) and falls toward both ends, while the hue drifts 7.6 degrees across the scale.
8 of the eleven lie outside sRGB, so their hex codes are the nearest sRGB colors, and a wide-gamut screen shows them stronger.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org