Skip to content

#fe9dfb

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

RGB
254, 157, 251
HSL
302°, 98%, 81%
CMYK
0, 38, 1, 0
Luminance
0.5215

Every format

HEX#fe9dfb
RGBrgb(254, 157, 251)
HSLhsl(302, 98%, 81%)
CMYKcmyk(0%, 38%, 1%, 0%)
LABlab(77.4 49.8 -31.9)
LCHlch(77.4 59.1 327.4)
OKLCHoklch(0.825 0.164 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green61.6%
Blue98.4%

CMYK percentages

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

Color previews

#fe9dfb text on a black background

contrast 11.43:1

Card sample

#fe9dfb text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe9dfb in the Color Lab