Skip to content

#f9b4df

a light, electric magenta / pink · warm · closest name: plum

RGB
249, 180, 223
HSL
323°, 85%, 84%
CMYK
0, 28, 10, 2
Luminance
0.5811

Every format

HEX#f9b4df
RGBrgb(249, 180, 223)
HSLhsl(323, 85%, 84%)
CMYKcmyk(0%, 28%, 10%, 2%)
LABlab(80.8 31.5 -11.6)
LCHlch(80.8 33.6 339.8)
OKLCHoklch(0.847 0.097 341.5)

Copy-ready code

/* CSS */
color: #f9b4df;
background-color: #f9b4df;
/* Tailwind (arbitrary) */
class="text-[#f9b4df] bg-[#f9b4df]"
/* SCSS */
$brand: #f9b4df;
/* SwiftUI */
Color(red: 0.976, green: 0.706, blue: 0.875)
/* Android */
Color.parseColor("#f9b4df")

Accessibility — WCAG contrast

Aa
#f9b4df on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#f9b4df on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green70.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta27.7%
Yellow10.4%
Key (black)2.4%

Color previews

#f9b4df text on a black background

contrast 12.62:1

Card sample

#f9b4df text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f9b4df;
Background color
Panel with #f9b4df background
background-color: #f9b4df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f9b4df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(249, 180, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 180, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9b4df;
background: linear-gradient(135deg, #f9b4df, #F9B7B4);

Monochromatic scale

Palettes built from #f9b4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9b4df in the Color Lab