Toolman

Tailwind fuchsia colours

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

Every fuchsia shade

ClassHexRGBOn whiteText colourAs text
fuchsia-50#FDF4FF253, 244, 2551.07:1black
fuchsia-100#FAE8FF250, 232, 2551.16:1black
fuchsia-200#F5D0FE245, 208, 2541.37:1black
fuchsia-300#F0ABFC240, 171, 2521.76:1black
fuchsia-400#E879F9232, 121, 2492.46:1black
fuchsia-500#D946EF217, 70, 2393.46:1blacklarge only
fuchsia-600#C026D3192, 38, 2114.71:1whiteAA
fuchsia-700#A21CAF162, 28, 1756.32:1whiteAA
fuchsia-800#86198F134, 25, 1438.24:1whiteAA
fuchsia-900#701A75112, 26, 11710.03:1whiteAA
fuchsia-950#4A044E74, 4, 7814.8: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

fuchsia-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 fuchsia in Tailwind

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

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

Frequently asked questions

What is the hex code for Tailwind fuchsia-500?

#D946EF — RGB 217, 70, 239. Full values and contrast for #D946EF.

Which Tailwind fuchsia shades can I use for text?

fuchsia-600, fuchsia-700, fuchsia-800, fuchsia-900, fuchsia-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 fuchsia background be black or white?

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

All Tailwind colours · Colour reference