Tailwind Pink 300

pink-300 · #F9A8D4 · rgb(249, 168, 212)

pink-300 is a very light vivid pink from the Tailwind CSS default palette, hex code #F9A8D4.

HEX#F9A8D4
RGBrgb(249, 168, 212)
HSLhsl(327, 87%, 82%)
CMYKcmyk(0%, 33%, 15%, 2%)
CSS variable (v4)var(--color-pink-300)
Color nameBaby Pink (closest)

Classes

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

Check contrast with any color →

Tailwind pink-300: questions & answers

What is the HEX code of Tailwind pink-300?

Tailwind pink-300 is #F9A8D4, which is rgb(249, 168, 212) or hsl(327, 87%, 82%).

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

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

What text color works on bg-pink-300?

pink-900 (#831843) is the closest shade of the same color with readable contrast (5.32:1). Plain black text gives 11.58:1.