Skip to content

#fd9afe

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

RGB
253, 154, 254
HSL
299°, 98%, 80%
CMYK
0, 39, 0, 0
Luminance
0.5115

Every format

HEX#fd9afe
RGBrgb(253, 154, 254)
HSLhsl(299, 98%, 80%)
CMYKcmyk(0%, 39%, 0%, 0%)
LABlab(76.8 51.5 -34.4)
LCHlch(76.8 62.0 326.3)
OKLCHoklch(0.821 0.171 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.4%
Magenta39.4%
Yellow0.0%
Key (black)0.4%

Color previews

#fd9afe text on a black background

contrast 11.23:1

Card sample

#fd9afe text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd9afe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd9afe in the Color Lab