Tailwind Red 50

red-50 · #FEF2F2 · rgb(254, 242, 242)

red-50 is a very light vivid red from the Tailwind CSS default palette, hex code #FEF2F2.

HEX#FEF2F2
RGBrgb(254, 242, 242)
HSLhsl(0, 86%, 97%)
CMYKcmyk(0%, 5%, 5%, 0%)
CSS variable (v4)var(--color-red-50)
Color nameLavender Blush (closest)

Classes

bg-red-50
text-red-50
border-red-50
ring-red-50
from-red-50 via-red-50 to-red-50
bg-red-50/50   /* 50% opacity */
White text · 1.09:1 · fails
Black text · 19.2:1 · AAA
text-red-700 · 5.91:1 · AA

Check contrast with any color →

Tailwind red-50: questions & answers

What is the HEX code of Tailwind red-50?

Tailwind red-50 is #FEF2F2, which is rgb(254, 242, 242) or hsl(0, 86%, 97%).

How do I use red-50 as a background in Tailwind?

Add the class bg-red-50 to the element. Use text-red-50 for text and border-red-50 for borders.

What text color works on bg-red-50?

red-700 (#B91C1C) is the closest shade of the same color with readable contrast (5.91:1). Plain black text gives 19.2:1.