Skip to content

#fe2dfd

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

RGB
254, 45, 253
HSL
300°, 99%, 59%
CMYK
0, 82, 0, 0
Luminance
0.3004

Every format

HEX#fe2dfd
RGBrgb(254, 45, 253)
HSLhsl(300, 99%, 59%)
CMYKcmyk(0%, 82%, 0%, 0%)
LABlab(61.7 92.9 -57.5)
LCHlch(61.7 109.3 328.2)
OKLCHoklch(0.711 0.305 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2dfd on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#fe2dfd on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow0.4%
Key (black)0.4%

Color previews

#fe2dfd text on a black background

contrast 7.01:1

Card sample

#fe2dfd text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2dfd in the Color Lab