Skip to content

#fe5df7

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

RGB
254, 93, 247
HSL
303°, 99%, 68%
CMYK
0, 63, 3, 0
Luminance
0.3561

Every format

HEX#fe5df7
RGBrgb(254, 93, 247)
HSLhsl(303, 99%, 68%)
CMYKcmyk(0%, 63%, 3%, 0%)
LABlab(66.2 78.2 -47.0)
LCHlch(66.2 91.3 329.0)
OKLCHoklch(0.742 0.256 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe5df7 on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#fe5df7 on black: 8.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green36.5%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow2.8%
Key (black)0.4%

Color previews

#fe5df7 text on a black background

contrast 8.12:1

Card sample

#fe5df7 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5df7 in the Color Lab