Tailwind Red 500

red-500 · #EF4444 · rgb(239, 68, 68)

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

HEX#EF4444
RGBrgb(239, 68, 68)
HSLhsl(0, 84%, 60%)
CMYKcmyk(0%, 72%, 72%, 6%)
CSS variable (v4)var(--color-red-500)
Color nameWatermelon (closest)

Classes

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

Check contrast with any color →

Tailwind red-500: questions & answers

What is the HEX code of Tailwind red-500?

Tailwind red-500 is #EF4444, which is rgb(239, 68, 68) or hsl(0, 84%, 60%).

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

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

What text color works on bg-red-500?

Black text gives the best contrast: 5.58:1.