Skip to main content

bg-red-700

Tailwind Red 700

#B91C1C·Red family·Shade 700

Color Values

HEX
#B91C1C
RGB
rgb(185, 28, 28)
HSL
hsl(0, 74%, 42%)
OKLCH
oklch(0.505 0.191 28)
CMYK
cmyk(0%, 85%, 85%, 27%)
CSS Variable
var(--color-red-700)
Tailwind Class
bg-red-700

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

6.47:1

AA

On Black

3.25:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-red-700

Text

text-red-700

Border

border-red-700

Ring

ring-red-700

Outline

outline-red-700

Fill

fill-red-700

Stroke

stroke-red-700

From (gradient)

from-red-700

Via (gradient)

via-red-700

To (gradient)

to-red-700

Placeholder

placeholder-red-700

Caret

caret-red-700

Accent

accent-red-700

Decoration

decoration-red-700

Shadow Color

shadow-red-700

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'red-700': '#b91c1c', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #B91C1C;

/* RGB */
background-color: rgb(185, 28, 28);

/* HSL */
background-color: hsl(0, 74%, 42%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.505 0.191 28);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-red-700);

/* Gradient example */
background: linear-gradient(135deg, #fef2f2 0%, #991b1b 100%);

OKLCH — Modern Color Space

Lightness (L)

0.505

51% perceived brightness

Chroma (C)

0.191

Color intensity / saturation

Hue (H)

28°

Angle on perceptual hue wheel

oklch(0.505 0.191 28)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Dark accent & pressed state

Shade 700 of the Red palette

Recommended Uses

  • Pressed/active button states
  • Text links on white
  • Dark-mode primary buttons
  • Table headers
  • Strong UI accents

Avoid

Text on black — contrast is too low for dark mode text.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #B91C1C

Frequently Asked Questions

What is the hex code for Tailwind Red 700?
Tailwind Red 700 has the hex code #B91C1C. Its RGB value is rgb(185, 28, 28) and its HSL value is hsl(0, 74%, 42%).
What Tailwind utility classes use Red 700?
Use bg-red-700 for backgrounds, text-red-700 for text color, border-red-700 for borders, and ring-red-700 for focus rings. In Tailwind v4 the CSS variable var(--color-red-700) is available natively.
Is Tailwind Red 700 WCAG accessible?
Tailwind Red 700 achieves a 6.47:1 contrast ratio on white (AA) and 3.25:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Red 700?
Tailwind Red 700 in OKLCH is oklch(0.505 0.191 28) — lightness 0.505, chroma 0.191, hue 28°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Red 700 used for?
At shade 700, Tailwind Red 700 is best described as "Dark accent & pressed state". Recommended uses: Pressed/active button states, Text links on white, Dark-mode primary buttons.