Skip to content

#fe4dfd

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

RGB
254, 77, 253
HSL
300°, 99%, 65%
CMYK
0, 70, 0, 0
Luminance
0.3347

Every format

HEX#fe4dfd
RGBrgb(254, 77, 253)
HSLhsl(300, 99%, 65%)
CMYKcmyk(0%, 70%, 0%, 0%)
LABlab(64.5 84.7 -53.0)
LCHlch(64.5 99.9 328.0)
OKLCHoklch(0.731 0.279 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe4dfd on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#fe4dfd on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green30.2%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta69.7%
Yellow0.4%
Key (black)0.4%

Color previews

#fe4dfd text on a black background

contrast 7.69:1

Card sample

#fe4dfd text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe4dfd in the Color Lab