Color Values
- HEX
- #FDF2F8
- RGB
- rgb(253, 242, 248)
- HSL
- hsl(327, 73%, 97%)
- OKLCH
- oklch(0.971 0.014 343)
- CMYK
- cmyk(0%, 4%, 2%, 1%)
- CSS Variable
- var(--color-pink-50)
- Tailwind Class
- bg-pink-50
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.09:1
On Black
19.23:1
Tailwind Usage — All Utilities
Background
bg-pink-50Text
text-pink-50Border
border-pink-50Ring
ring-pink-50Outline
outline-pink-50Fill
fill-pink-50Stroke
stroke-pink-50From (gradient)
from-pink-50Via (gradient)
via-pink-50To (gradient)
to-pink-50Placeholder
placeholder-pink-50Caret
caret-pink-50Accent
accent-pink-50Decoration
decoration-pink-50Shadow Color
shadow-pink-50Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'pink-50': '#fdf2f8',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #FDF2F8;
/* RGB */
background-color: rgb(253, 242, 248);
/* HSL */
background-color: hsl(327, 73%, 97%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.971 0.014 343);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-pink-50);
/* Gradient example */
background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);OKLCH — Modern Color Space
Lightness (L)
0.971
97% perceived brightness
Chroma (C)
0.014
Color intensity / saturation
Hue (H)
343°
Angle on perceptual hue wheel
oklch(0.971 0.014 343)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
Ultra-light background tint
Shade 50 of the Pink palette
Recommended Uses
- ✓Page backgrounds
- ✓Subtle section fills
- ✓Notification banners
- ✓Hover state backgrounds
- ✓Table row alternates
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #FDF2F8
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Pink 50
Nearest Tailwind equivalent — #FDF2F8
Frequently Asked Questions
- What is the hex code for Tailwind Pink 50?
- Tailwind Pink 50 has the hex code #FDF2F8. Its RGB value is rgb(253, 242, 248) and its HSL value is hsl(327, 73%, 97%).
- What Tailwind utility classes use Pink 50?
- Use bg-pink-50 for backgrounds, text-pink-50 for text color, border-pink-50 for borders, and ring-pink-50 for focus rings. In Tailwind v4 the CSS variable var(--color-pink-50) is available natively.
- Is Tailwind Pink 50 WCAG accessible?
- Tailwind Pink 50 achieves a 1.09:1 contrast ratio on white (Fail) and 19.23:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Pink 50?
- Tailwind Pink 50 in OKLCH is oklch(0.971 0.014 343) — lightness 0.971, chroma 0.014, hue 343°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Pink 50 used for?
- At shade 50, Tailwind Pink 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.