Skip to content

#f9abdf

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

RGB
249, 171, 223
HSL
320°, 87%, 82%
CMYK
0, 31, 10, 2
Luminance
0.5459

Every format

HEX#f9abdf
RGBrgb(249, 171, 223)
HSLhsl(320, 87%, 82%)
CMYKcmyk(0%, 31%, 10%, 2%)
LABlab(78.8 36.2 -14.6)
LCHlch(78.8 39.0 338.1)
OKLCHoklch(0.832 0.112 339.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9abdf on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#f9abdf on black: 11.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green67.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta31.3%
Yellow10.4%
Key (black)2.4%

Color previews

#f9abdf text on a black background

contrast 11.92:1

Card sample

#f9abdf text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9abdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9abdf in the Color Lab