Skip to content

#e22dfd

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

RGB
226, 45, 253
HSL
292°, 98%, 58%
CMYK
11, 82, 0, 1
Luminance
0.2514

Every format

HEX#e22dfd
RGBrgb(226, 45, 253)
HSLhsl(292, 98%, 58%)
CMYKcmyk(11%, 82%, 0%, 1%)
LABlab(57.2 88.1 -65.0)
LCHlch(57.2 109.5 323.6)
OKLCHoklch(0.670 0.295 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e22dfd on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#e22dfd on black: 6.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green17.6%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#e22dfd text on a black background

contrast 6.03:1

Card sample

#e22dfd text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e22dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e22dfd in the Color Lab