Skip to content

#f9a5df

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

RGB
249, 165, 223
HSL
319°, 88%, 81%
CMYK
0, 34, 10, 2
Luminance
0.5238

Every format

HEX#f9a5df
RGBrgb(249, 165, 223)
HSLhsl(319, 88%, 81%)
CMYKcmyk(0%, 34%, 10%, 2%)
LABlab(77.5 39.4 -16.5)
LCHlch(77.5 42.7 337.2)
OKLCHoklch(0.822 0.122 338.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9a5df on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#f9a5df on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green64.7%
Blue87.5%

CMYK percentages

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

Color previews

#f9a5df text on a black background

contrast 11.48:1

Card sample

#f9a5df text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9a5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9a5df in the Color Lab