Skip to content

#fe5df6

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

RGB
254, 93, 246
HSL
303°, 99%, 68%
CMYK
0, 63, 3, 0
Luminance
0.3555

Every format

HEX#fe5df6
RGBrgb(254, 93, 246)
HSLhsl(303, 99%, 68%)
CMYKcmyk(0%, 63%, 3%, 0%)
LABlab(66.2 78.0 -46.6)
LCHlch(66.2 90.9 329.2)
OKLCHoklch(0.742 0.255 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fe5df6 text on a black background

contrast 8.11:1

Card sample

#fe5df6 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5df6 in the Color Lab