Skip to content

#fe5df1

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

RGB
254, 93, 241
HSL
305°, 99%, 68%
CMYK
0, 63, 5, 0
Luminance
0.3525

Every format

HEX#fe5df1
RGBrgb(254, 93, 241)
HSLhsl(305, 99%, 68%)
CMYKcmyk(0%, 63%, 5%, 0%)
LABlab(66.0 77.3 -44.2)
LCHlch(66.0 89.0 330.2)
OKLCHoklch(0.739 0.251 331.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe5df1 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#fe5df1 on black: 8.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green36.5%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow5.1%
Key (black)0.4%

Color previews

#fe5df1 text on a black background

contrast 8.05:1

Card sample

#fe5df1 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5df1 in the Color Lab