Skip to content

#f9a2df

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

RGB
249, 162, 223
HSL
318°, 88%, 81%
CMYK
0, 35, 10, 2
Luminance
0.5131

Every format

HEX#f9a2df
RGBrgb(249, 162, 223)
HSLhsl(318, 88%, 81%)
CMYKcmyk(0%, 35%, 10%, 2%)
LABlab(76.9 40.9 -17.5)
LCHlch(76.9 44.5 336.8)
OKLCHoklch(0.817 0.128 338.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9a2df on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#f9a2df on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green63.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta34.9%
Yellow10.4%
Key (black)2.4%

Color previews

#f9a2df text on a black background

contrast 11.26:1

Card sample

#f9a2df text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9a2df in the Color Lab