Skip to content

#fd9dfe

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

RGB
253, 157, 254
HSL
299°, 98%, 81%
CMYK
0, 38, 0, 0
Luminance
0.5215

Every format

HEX#fd9dfe
RGBrgb(253, 157, 254)
HSLhsl(299, 98%, 81%)
CMYKcmyk(0%, 38%, 0%, 0%)
LABlab(77.4 50.0 -33.5)
LCHlch(77.4 60.2 326.2)
OKLCHoklch(0.825 0.166 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd9dfe on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#fd9dfe on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green61.6%
Blue99.6%

CMYK percentages

Cyan0.4%
Magenta38.2%
Yellow0.0%
Key (black)0.4%

Color previews

#fd9dfe text on a black background

contrast 11.43:1

Card sample

#fd9dfe text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9dfe in the Color Lab