Skip to content

#fe9df1

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

RGB
254, 157, 241
HSL
308°, 98%, 81%
CMYK
0, 38, 5, 0
Luminance
0.5154

Every format

HEX#fe9df1
RGBrgb(254, 157, 241)
HSLhsl(308, 98%, 81%)
CMYKcmyk(0%, 38%, 5%, 0%)
LABlab(77.0 48.1 -27.0)
LCHlch(77.0 55.1 330.7)
OKLCHoklch(0.821 0.155 331.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe9df1 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#fe9df1 on black: 11.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green61.6%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta38.2%
Yellow5.1%
Key (black)0.4%

Color previews

#fe9df1 text on a black background

contrast 11.31:1

Card sample

#fe9df1 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9df1 in the Color Lab