Skip to content

#df2ee5

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

RGB
223, 46, 229
HSL
298°, 78%, 54%
CMYK
3, 80, 0, 10
Luminance
0.2330

Every format

HEX#df2ee5
RGBrgb(223, 46, 229)
HSLhsl(298, 78%, 54%)
CMYKcmyk(3%, 80%, 0%, 10%)
LABlab(55.4 83.6 -54.5)
LCHlch(55.4 99.8 326.9)
OKLCHoklch(0.652 0.276 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ee5 on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#df2ee5 on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue89.8%

CMYK percentages

Cyan2.6%
Magenta79.9%
Yellow0.0%
Key (black)10.2%

Color previews

#df2ee5 text on a black background

contrast 5.66:1

Card sample

#df2ee5 text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 46, 229, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 46, 229, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df2ee5;
background: linear-gradient(135deg, #df2ee5, #E52E71);

Monochromatic scale

Palettes built from #df2ee5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ee5 in the Color Lab