Toolman

Tailwind rose colours

The eleven rose shades in the default Tailwind CSS palette, with the contrast figures that decide which of them you can actually put text on.

Every rose shade

ClassHexRGBOn whiteText colourAs text
rose-50#FFF1F2255, 241, 2421.1:1black
rose-100#FFE4E6255, 228, 2301.2:1black
rose-200#FECDD3254, 205, 2111.41:1black
rose-300#FDA4AF253, 164, 1751.89:1black
rose-400#FB7185251, 113, 1332.69:1black
rose-500#F43F5E244, 63, 943.67:1blacklarge only
rose-600#E11D48225, 29, 724.7:1whiteAA
rose-700#BE123C190, 18, 606.29:1whiteAA
rose-800#9F1239159, 18, 578.02:1whiteAA
rose-900#881337136, 19, 559.57:1whiteAA
rose-950#4C051976, 5, 2515.64:1whiteAA

"On white" is the contrast ratio against a white page. "As text" is whether that ratio passes WCAG AA for normal text, which needs 4.5:1; large text needs only 3:1.

Where the scale turns over

rose-600 is the lightest shade that reaches 4.5:1 against white, so it is the first one usable for body text on a white page. It is also where a background of this hue stops taking black text and starts needing white — the two thresholds are 4.5:1 and 4.58:1, and on this scale they fall on the same step.

Using rose in Tailwind

<div class="bg-rose-500 text-black">
<p class="text-rose-600">

The text class above is the lightest rose that still passes AA on a white background.

Frequently asked questions

What is the hex code for Tailwind rose-500?

#F43F5E — RGB 244, 63, 94. Full values and contrast for #F43F5E.

Which Tailwind rose shades can I use for text?

rose-600, rose-700, rose-800, rose-900, rose-950 reach 4.5:1 against white and pass AA for normal text. Anything lighter fails, whatever it looks like on your monitor.

Should text on a rose background be black or white?

Black up to rose-500, white from rose-600 down. The two are never both comfortable: at the crossover neither reaches 4.5:1.

All Tailwind colours · Colour reference