Skip to content

#fd9afd

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

RGB
253, 154, 253
HSL
300°, 96%, 80%
CMYK
0, 39, 0, 1
Luminance
0.5109

Every format

HEX#fd9afd
RGBrgb(253, 154, 253)
HSLhsl(300, 96%, 80%)
CMYKcmyk(0%, 39%, 0%, 1%)
LABlab(76.7 51.4 -33.9)
LCHlch(76.7 61.6 326.6)
OKLCHoklch(0.820 0.170 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd9afd on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#fd9afd on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green60.4%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#fd9afd text on a black background

contrast 11.22:1

Card sample

#fd9afd text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9afd in the Color Lab