Skip to content

#fd9af9

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

RGB
253, 154, 249
HSL
302°, 96%, 80%
CMYK
0, 39, 2, 1
Luminance
0.5083

Every format

HEX#fd9af9
RGBrgb(253, 154, 249)
HSLhsl(302, 96%, 80%)
CMYKcmyk(0%, 39%, 2%, 1%)
LABlab(76.6 50.7 -32.0)
LCHlch(76.6 59.9 327.7)
OKLCHoklch(0.819 0.166 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd9af9 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#fd9af9 on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green60.4%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta39.1%
Yellow1.6%
Key (black)0.8%

Color previews

#fd9af9 text on a black background

contrast 11.17:1

Card sample

#fd9af9 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9af9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9af9 in the Color Lab