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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
4.83:1
On Black
4.35:1
Tailwind Usage — All Utilities
Background
bg-red-600Text
text-red-600Border
border-red-600Ring
ring-red-600Outline
outline-red-600Fill
fill-red-600Stroke
stroke-red-600From (gradient)
from-red-600Via (gradient)
via-red-600To (gradient)
to-red-600Placeholder
placeholder-red-600Caret
caret-red-600Accent
accent-red-600Decoration
decoration-red-600Shadow Color
shadow-red-600Tailwind 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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #DC2626
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Red 600
Nearest Tailwind equivalent — #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.