Tailwind Red 900

red-900 · #7F1D1D · rgb(127, 29, 29)

red-900 is a dark red from the Tailwind CSS default palette, hex code #7F1D1D.

HEX#7F1D1D
RGBrgb(127, 29, 29)
HSLhsl(0, 63%, 31%)
CMYKcmyk(0%, 77%, 77%, 50%)
CSS variable (v4)var(--color-red-900)
Color nameAuburn (closest)

Classes

bg-red-900
text-red-900
border-red-900
ring-red-900
from-red-900 via-red-900 to-red-900
bg-red-900/50   /* 50% opacity */
White text · 10.02:1 · AAA
Black text · 2.1:1 · fails
text-red-300 · 5.28:1 · AA

Check contrast with any color →

Tailwind red-900: questions & answers

What is the HEX code of Tailwind red-900?

Tailwind red-900 is #7F1D1D, which is rgb(127, 29, 29) or hsl(0, 63%, 31%).

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

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

What text color works on bg-red-900?

red-300 (#FCA5A5) is the closest shade of the same color with readable contrast (5.28:1). Plain white text gives 10.02:1.