Tailwind Pink 500

pink-500 · #EC4899 · rgb(236, 72, 153)

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

HEX#EC4899
RGBrgb(236, 72, 153)
HSLhsl(330, 81%, 60%)
CMYKcmyk(0%, 69%, 35%, 7%)
CSS variable (v4)var(--color-pink-500)
Color nameRaspberry Pink (closest)

Classes

bg-pink-500
text-pink-500
border-pink-500
ring-pink-500
from-pink-500 via-pink-500 to-pink-500
bg-pink-500/50   /* 50% opacity */
White text · 3.53:1 · AA (large text only)
Black text · 5.95:1 · AA

Check contrast with any color →

Tailwind pink-500: questions & answers

What is the HEX code of Tailwind pink-500?

Tailwind pink-500 is #EC4899, which is rgb(236, 72, 153) or hsl(330, 81%, 60%).

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

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

What text color works on bg-pink-500?

Black text gives the best contrast: 5.95:1.