Color Values
- HEX
- #FB7185
- RGB
- rgb(251, 113, 133)
- HSL
- hsl(351, 95%, 71%)
- OKLCH
- oklch(0.719 0.169 13)
- CMYK
- cmyk(0%, 55%, 47%, 2%)
- CSS Variable
- var(--color-rose-400)
- Tailwind Class
- bg-rose-400
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
2.69:1
On Black
7.8:1
Tailwind Usage — All Utilities
Background
bg-rose-400Text
text-rose-400Border
border-rose-400Ring
ring-rose-400Outline
outline-rose-400Fill
fill-rose-400Stroke
stroke-rose-400From (gradient)
from-rose-400Via (gradient)
via-rose-400To (gradient)
to-rose-400Placeholder
placeholder-rose-400Caret
caret-rose-400Accent
accent-rose-400Decoration
decoration-rose-400Shadow Color
shadow-rose-400Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'rose-400': '#fb7185',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #FB7185;
/* RGB */
background-color: rgb(251, 113, 133);
/* HSL */
background-color: hsl(351, 95%, 71%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.719 0.169 13);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-rose-400);
/* Gradient example */
background: linear-gradient(135deg, #fff1f2 0%, #f43f5e 100%);OKLCH — Modern Color Space
Lightness (L)
0.719
72% perceived brightness
Chroma (C)
0.169
Color intensity / saturation
Hue (H)
13°
Angle on perceptual hue wheel
oklch(0.719 0.169 13)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
Mid-tone accent
Shade 400 of the Rose palette
Recommended Uses
- ✓Icon fills on white
- ✓Secondary buttons (large text)
- ✓Chart & data visualization bars
- ✓Decorative UI elements
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #FB7185
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Rose 400
Nearest Tailwind equivalent — #FB7185
Frequently Asked Questions
- What is the hex code for Tailwind Rose 400?
- Tailwind Rose 400 has the hex code #FB7185. Its RGB value is rgb(251, 113, 133) and its HSL value is hsl(351, 95%, 71%).
- What Tailwind utility classes use Rose 400?
- Use bg-rose-400 for backgrounds, text-rose-400 for text color, border-rose-400 for borders, and ring-rose-400 for focus rings. In Tailwind v4 the CSS variable var(--color-rose-400) is available natively.
- Is Tailwind Rose 400 WCAG accessible?
- Tailwind Rose 400 achieves a 2.69:1 contrast ratio on white (Fail) and 7.8:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Rose 400?
- Tailwind Rose 400 in OKLCH is oklch(0.719 0.169 13) — lightness 0.719, chroma 0.169, hue 13°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Rose 400 used for?
- At shade 400, Tailwind Rose 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.