Color Values
- HEX
- #F472B6
- RGB
- rgb(244, 114, 182)
- HSL
- hsl(329, 86%, 70%)
- OKLCH
- oklch(0.725 0.175 350)
- CMYK
- cmyk(0%, 53%, 25%, 4%)
- CSS Variable
- var(--color-pink-400)
- Tailwind Class
- bg-pink-400
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
2.65:1
On Black
7.93:1
Tailwind Usage — All Utilities
Background
bg-pink-400Text
text-pink-400Border
border-pink-400Ring
ring-pink-400Outline
outline-pink-400Fill
fill-pink-400Stroke
stroke-pink-400From (gradient)
from-pink-400Via (gradient)
via-pink-400To (gradient)
to-pink-400Placeholder
placeholder-pink-400Caret
caret-pink-400Accent
accent-pink-400Decoration
decoration-pink-400Shadow Color
shadow-pink-400Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'pink-400': '#f472b6',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #F472B6;
/* RGB */
background-color: rgb(244, 114, 182);
/* HSL */
background-color: hsl(329, 86%, 70%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.725 0.175 350);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-pink-400);
/* Gradient example */
background: linear-gradient(135deg, #fdf2f8 0%, #ec4899 100%);OKLCH — Modern Color Space
Lightness (L)
0.725
73% perceived brightness
Chroma (C)
0.175
Color intensity / saturation
Hue (H)
350°
Angle on perceptual hue wheel
oklch(0.725 0.175 350)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 Pink 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 — #F472B6
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Pink 400
Nearest Tailwind equivalent — #F472B6
Frequently Asked Questions
- What is the hex code for Tailwind Pink 400?
- Tailwind Pink 400 has the hex code #F472B6. Its RGB value is rgb(244, 114, 182) and its HSL value is hsl(329, 86%, 70%).
- What Tailwind utility classes use Pink 400?
- Use bg-pink-400 for backgrounds, text-pink-400 for text color, border-pink-400 for borders, and ring-pink-400 for focus rings. In Tailwind v4 the CSS variable var(--color-pink-400) is available natively.
- Is Tailwind Pink 400 WCAG accessible?
- Tailwind Pink 400 achieves a 2.65:1 contrast ratio on white (Fail) and 7.93:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Pink 400?
- Tailwind Pink 400 in OKLCH is oklch(0.725 0.175 350) — lightness 0.725, chroma 0.175, hue 350°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Pink 400 used for?
- At shade 400, Tailwind Pink 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.