Skip to content

#fe5dfb

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

RGB
254, 93, 251
HSL
301°, 99%, 68%
CMYK
0, 63, 1, 0
Luminance
0.3586

Every format

HEX#fe5dfb
RGBrgb(254, 93, 251)
HSLhsl(301, 99%, 68%)
CMYKcmyk(0%, 63%, 1%, 0%)
LABlab(66.4 78.8 -48.9)
LCHlch(66.4 92.8 328.2)
OKLCHoklch(0.744 0.259 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe5dfb on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#fe5dfb on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green36.5%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow1.2%
Key (black)0.4%

Color previews

#fe5dfb text on a black background

contrast 8.17:1

Card sample

#fe5dfb text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5dfb in the Color Lab