Skip to content

#fe5dfd

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

RGB
254, 93, 253
HSL
300°, 99%, 68%
CMYK
0, 63, 0, 0
Luminance
0.3599

Every format

HEX#fe5dfd
RGBrgb(254, 93, 253)
HSLhsl(300, 99%, 68%)
CMYKcmyk(0%, 63%, 0%, 0%)
LABlab(66.5 79.2 -49.9)
LCHlch(66.5 93.6 327.8)
OKLCHoklch(0.745 0.260 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe5dfd on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#fe5dfd on black: 8.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green36.5%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow0.4%
Key (black)0.4%

Color previews

#fe5dfd text on a black background

contrast 8.20:1

Card sample

#fe5dfd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5dfd in the Color Lab