Skip to content

#fe9df9

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

RGB
254, 157, 249
HSL
303°, 98%, 81%
CMYK
0, 38, 2, 0
Luminance
0.5202

Every format

HEX#fe9df9
RGBrgb(254, 157, 249)
HSLhsl(303, 98%, 81%)
CMYKcmyk(0%, 38%, 2%, 0%)
LABlab(77.3 49.5 -30.9)
LCHlch(77.3 58.3 328.0)
OKLCHoklch(0.824 0.162 328.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green61.6%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta38.2%
Yellow2.0%
Key (black)0.4%

Color previews

#fe9df9 text on a black background

contrast 11.40:1

Card sample

#fe9df9 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9df9 in the Color Lab