Skip to content

#df2fe5

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

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

Every format

HEX#df2fe5
RGBrgb(223, 47, 229)
HSLhsl(298, 78%, 54%)
CMYKcmyk(3%, 80%, 0%, 10%)
LABlab(55.5 83.4 -54.4)
LCHlch(55.5 99.5 326.9)
OKLCHoklch(0.653 0.275 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2fe5 on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#df2fe5 on black: 5.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue89.8%

CMYK percentages

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

Color previews

#df2fe5 text on a black background

contrast 5.68:1

Card sample

#df2fe5 text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2fe5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2fe5 in the Color Lab