Tailwind Red 700

red-700 · #B91C1C · rgb(185, 28, 28)

red-700 is a medium vivid red from the Tailwind CSS default palette, hex code #B91C1C.

HEX#B91C1C
RGBrgb(185, 28, 28)
HSLhsl(0, 74%, 42%)
CMYKcmyk(0%, 85%, 85%, 27%)
CSS variable (v4)var(--color-red-700)
Color nameCarnelian (closest)

Classes

bg-red-700
text-red-700
border-red-700
ring-red-700
from-red-700 via-red-700 to-red-700
bg-red-700/50   /* 50% opacity */
White text · 6.47:1 · AA
Black text · 3.25:1 · AA (large text only)
text-red-100 · 5.3:1 · AA

Check contrast with any color →

Tailwind red-700: questions & answers

What is the HEX code of Tailwind red-700?

Tailwind red-700 is #B91C1C, which is rgb(185, 28, 28) or hsl(0, 74%, 42%).

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

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

What text color works on bg-red-700?

red-100 (#FEE2E2) is the closest shade of the same color with readable contrast (5.3:1). Plain white text gives 6.47:1.