Skip to content

#df2ad2

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

RGB
223, 42, 210
HSL
304°, 74%, 52%
CMYK
0, 81, 6, 13
Luminance
0.2200

Every format

HEX#df2ad2
RGBrgb(223, 42, 210)
HSLhsl(304, 74%, 52%)
CMYKcmyk(0%, 81%, 6%, 13%)
LABlab(54.0 81.7 -45.9)
LCHlch(54.0 93.7 330.7)
OKLCHoklch(0.639 0.266 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ad2 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#df2ad2 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow5.8%
Key (black)12.5%

Color previews

#df2ad2 text on a black background

contrast 5.40:1

Card sample

#df2ad2 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ad2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ad2 in the Color Lab