Skip to content

#fe9df5

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

RGB
254, 157, 245
HSL
306°, 98%, 81%
CMYK
0, 38, 4, 0
Luminance
0.5178

Every format

HEX#fe9df5
RGBrgb(254, 157, 245)
HSLhsl(306, 98%, 81%)
CMYKcmyk(0%, 38%, 4%, 0%)
LABlab(77.2 48.8 -29.0)
LCHlch(77.2 56.7 329.3)
OKLCHoklch(0.823 0.158 330.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe9df5 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#fe9df5 on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green61.6%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta38.2%
Yellow3.5%
Key (black)0.4%

Color previews

#fe9df5 text on a black background

contrast 11.36:1

Card sample

#fe9df5 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9df5 in the Color Lab