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