Tailwind Pink 400

pink-400 · #F472B6 · rgb(244, 114, 182)

pink-400 is a light vivid pink from the Tailwind CSS default palette, hex code #F472B6.

HEX#F472B6
RGBrgb(244, 114, 182)
HSLhsl(329, 86%, 70%)
CMYKcmyk(0%, 53%, 25%, 4%)
CSS variable (v4)var(--color-pink-400)
Color nameHot Pink (closest)

Classes

bg-pink-400
text-pink-400
border-pink-400
ring-pink-400
from-pink-400 via-pink-400 to-pink-400
bg-pink-400/50   /* 50% opacity */
White text · 2.65:1 · fails
Black text · 7.93:1 · AAA
text-pink-950 · 5.68:1 · AA

Check contrast with any color →

Tailwind pink-400: questions & answers

What is the HEX code of Tailwind pink-400?

Tailwind pink-400 is #F472B6, which is rgb(244, 114, 182) or hsl(329, 86%, 70%).

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

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

What text color works on bg-pink-400?

pink-950 (#500724) is the closest shade of the same color with readable contrast (5.68:1). Plain black text gives 7.93:1.