Skip to main content

bg-red-600

Tailwind Red 600

#DC2626·Red family·Shade 600

Color Values

HEX
#DC2626
RGB
rgb(220, 38, 38)
HSL
hsl(0, 72%, 51%)
OKLCH
oklch(0.577 0.215 27)
CMYK
cmyk(0%, 83%, 83%, 14%)
CSS Variable
var(--color-red-600)
Tailwind Class
bg-red-600

Accessibility Score

60/100

Good

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

On White

4.83:1

AA

On Black

4.35:1

AA Large
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-red-600

Text

text-red-600

Border

border-red-600

Ring

ring-red-600

Outline

outline-red-600

Fill

fill-red-600

Stroke

stroke-red-600

From (gradient)

from-red-600

Via (gradient)

via-red-600

To (gradient)

to-red-600

Placeholder

placeholder-red-600

Caret

caret-red-600

Accent

accent-red-600

Decoration

decoration-red-600

Shadow Color

shadow-red-600

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(220, 38, 38);

/* HSL */
background-color: hsl(0, 72%, 51%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.577 0.215 27);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.577

58% perceived brightness

Chroma (C)

0.215

Color intensity / saturation

Hue (H)

27°

Angle on perceptual hue wheel

oklch(0.577 0.215 27)

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

Accessible primary action

Shade 600 of the Red palette

Recommended Uses

  • Primary buttons on white (passes AA)
  • Active state fills
  • Bold text links
  • Form borders on focus
  • Strong icon fills

Avoid

Text on dark backgrounds — may fall below required contrast.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #DC2626

Frequently Asked Questions

What is the hex code for Tailwind Red 600?
Tailwind Red 600 has the hex code #DC2626. Its RGB value is rgb(220, 38, 38) and its HSL value is hsl(0, 72%, 51%).
What Tailwind utility classes use Red 600?
Use bg-red-600 for backgrounds, text-red-600 for text color, border-red-600 for borders, and ring-red-600 for focus rings. In Tailwind v4 the CSS variable var(--color-red-600) is available natively.
Is Tailwind Red 600 WCAG accessible?
Tailwind Red 600 achieves a 4.83:1 contrast ratio on white (AA) and 4.35:1 on black (AA Large). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Red 600?
Tailwind Red 600 in OKLCH is oklch(0.577 0.215 27) — lightness 0.577, chroma 0.215, hue 27°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Red 600 used for?
At shade 600, Tailwind Red 600 is best described as "Accessible primary action". Recommended uses: Primary buttons on white (passes AA), Active state fills, Bold text links.