Tailwind Pink 900

pink-900 · #831843 · rgb(131, 24, 67)

pink-900 is a dark pink from the Tailwind CSS default palette, hex code #831843.

HEX#831843
RGBrgb(131, 24, 67)
HSLhsl(336, 69%, 30%)
CMYKcmyk(0%, 82%, 49%, 49%)
CSS variable (v4)var(--color-pink-900)
Color nameMulberry (closest)

Classes

bg-pink-900
text-pink-900
border-pink-900
ring-pink-900
from-pink-900 via-pink-900 to-pink-900
bg-pink-900/50   /* 50% opacity */
White text · 9.65:1 · AAA
Black text · 2.18:1 · fails
text-pink-300 · 5.32:1 · AA

Check contrast with any color →

Tailwind pink-900: questions & answers

What is the HEX code of Tailwind pink-900?

Tailwind pink-900 is #831843, which is rgb(131, 24, 67) or hsl(336, 69%, 30%).

How do I use pink-900 as a background in Tailwind?

Add the class bg-pink-900 to the element. Use text-pink-900 for text and border-pink-900 for borders.

What text color works on bg-pink-900?

pink-300 (#F9A8D4) is the closest shade of the same color with readable contrast (5.32:1). Plain white text gives 9.65:1.