Tailwind Pink 800

pink-800 · #9D174D · rgb(157, 23, 77)

pink-800 is a dark vivid pink from the Tailwind CSS default palette, hex code #9D174D.

HEX#9D174D
RGBrgb(157, 23, 77)
HSLhsl(336, 74%, 35%)
CMYKcmyk(0%, 85%, 51%, 38%)
CSS variable (v4)var(--color-pink-800)
Color nameBerry (closest)

Classes

bg-pink-800
text-pink-800
border-pink-800
ring-pink-800
from-pink-800 via-pink-800 to-pink-800
bg-pink-800/50   /* 50% opacity */
White text · 7.88:1 · AAA
Black text · 2.66:1 · fails
text-pink-200 · 5.7:1 · AA

Check contrast with any color →

Tailwind pink-800: questions & answers

What is the HEX code of Tailwind pink-800?

Tailwind pink-800 is #9D174D, which is rgb(157, 23, 77) or hsl(336, 74%, 35%).

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

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

What text color works on bg-pink-800?

pink-200 (#FBCFE8) is the closest shade of the same color with readable contrast (5.7:1). Plain white text gives 7.88:1.