Color Values
- HEX
- #9F1239
- RGB
- rgb(159, 18, 57)
- HSL
- hsl(343, 80%, 35%)
- OKLCH
- oklch(0.455 0.171 14)
- CMYK
- cmyk(0%, 89%, 64%, 38%)
- CSS Variable
- var(--color-rose-800)
- Tailwind Class
- bg-rose-800
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
8.02:1
On Black
2.62:1
Tailwind Usage — All Utilities
Background
bg-rose-800Text
text-rose-800Border
border-rose-800Ring
ring-rose-800Outline
outline-rose-800Fill
fill-rose-800Stroke
stroke-rose-800From (gradient)
from-rose-800Via (gradient)
via-rose-800To (gradient)
to-rose-800Placeholder
placeholder-rose-800Caret
caret-rose-800Accent
accent-rose-800Decoration
decoration-rose-800Shadow Color
shadow-rose-800Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'rose-800': '#9f1239',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #9F1239;
/* RGB */
background-color: rgb(159, 18, 57);
/* HSL */
background-color: hsl(343, 80%, 35%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.455 0.171 14);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-rose-800);
/* Gradient example */
background: linear-gradient(135deg, #fff1f2 0%, #881337 100%);OKLCH — Modern Color Space
Lightness (L)
0.455
46% perceived brightness
Chroma (C)
0.171
Color intensity / saturation
Hue (H)
14°
Angle on perceptual hue wheel
oklch(0.455 0.171 14)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
Deep tone for text & UI
Shade 800 of the Rose palette
Recommended Uses
- ✓Heading text on white
- ✓Icon fills on light backgrounds
- ✓Dark sidebar fills
- ✓Strong badge colors
- ✓Section dividers
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #9F1239
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Rose 800
Nearest Tailwind equivalent — #9F1239
Frequently Asked Questions
- What is the hex code for Tailwind Rose 800?
- Tailwind Rose 800 has the hex code #9F1239. Its RGB value is rgb(159, 18, 57) and its HSL value is hsl(343, 80%, 35%).
- What Tailwind utility classes use Rose 800?
- Use bg-rose-800 for backgrounds, text-rose-800 for text color, border-rose-800 for borders, and ring-rose-800 for focus rings. In Tailwind v4 the CSS variable var(--color-rose-800) is available natively.
- Is Tailwind Rose 800 WCAG accessible?
- Tailwind Rose 800 achieves a 8.02:1 contrast ratio on white (AAA) and 2.62:1 on black (Fail). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Rose 800?
- Tailwind Rose 800 in OKLCH is oklch(0.455 0.171 14) — lightness 0.455, chroma 0.171, hue 14°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Rose 800 used for?
- At shade 800, Tailwind Rose 800 is best described as "Deep tone for text & UI". Recommended uses: Heading text on white, Icon fills on light backgrounds, Dark sidebar fills.