Skip to content

#f9afdf

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

RGB
249, 175, 223
HSL
321°, 86%, 83%
CMYK
0, 30, 10, 2
Luminance
0.5613

Every format

HEX#f9afdf
RGBrgb(249, 175, 223)
HSLhsl(321, 86%, 83%)
CMYKcmyk(0%, 30%, 10%, 2%)
LABlab(79.7 34.1 -13.3)
LCHlch(79.7 36.6 338.8)
OKLCHoklch(0.838 0.105 340.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9afdf on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#f9afdf on black: 12.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green68.6%
Blue87.5%

CMYK percentages

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

Color previews

#f9afdf text on a black background

contrast 12.23:1

Card sample

#f9afdf text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9afdf in the Color Lab