Skip to content

#fe9df6

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

RGB
254, 157, 246
HSL
305°, 98%, 81%
CMYK
0, 38, 3, 0
Luminance
0.5184

Every format

HEX#fe9df6
RGBrgb(254, 157, 246)
HSLhsl(305, 98%, 81%)
CMYKcmyk(0%, 38%, 3%, 0%)
LABlab(77.2 48.9 -29.4)
LCHlch(77.2 57.1 329.0)
OKLCHoklch(0.823 0.159 329.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green61.6%
Blue96.5%

CMYK percentages

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

Color previews

#fe9df6 text on a black background

contrast 11.37:1

Card sample

#fe9df6 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9df6 in the Color Lab