Skip to content

#e22df5

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

RGB
226, 45, 245
HSL
294°, 91%, 57%
CMYK
8, 82, 0, 4
Luminance
0.2464

Every format

HEX#e22df5
RGBrgb(226, 45, 245)
HSLhsl(294, 91%, 57%)
CMYKcmyk(8%, 82%, 0%, 4%)
LABlab(56.7 86.9 -61.3)
LCHlch(56.7 106.3 324.8)
OKLCHoklch(0.666 0.289 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e22df5 on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#e22df5 on black: 5.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green17.6%
Blue96.1%

CMYK percentages

Cyan7.8%
Magenta81.6%
Yellow0.0%
Key (black)3.9%

Color previews

#e22df5 text on a black background

contrast 5.93:1

Card sample

#e22df5 text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e22df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e22df5 in the Color Lab