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