Skip to content

#f9afdb

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

RGB
249, 175, 219
HSL
324°, 86%, 83%
CMYK
0, 30, 12, 2
Luminance
0.5591

Every format

HEX#f9afdb
RGBrgb(249, 175, 219)
HSLhsl(324, 86%, 83%)
CMYKcmyk(0%, 30%, 12%, 2%)
LABlab(79.6 33.5 -11.3)
LCHlch(79.6 35.3 341.4)
OKLCHoklch(0.837 0.102 343.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green68.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta29.7%
Yellow12.0%
Key (black)2.4%

Color previews

#f9afdb text on a black background

contrast 12.18:1

Card sample

#f9afdb text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9afdb in the Color Lab