Skip to content

#df2ad1

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

RGB
223, 42, 209
HSL
305°, 74%, 52%
CMYK
0, 81, 6, 13
Luminance
0.2195

Every format

HEX#df2ad1
RGBrgb(223, 42, 209)
HSLhsl(305, 74%, 52%)
CMYKcmyk(0%, 81%, 6%, 13%)
LABlab(54.0 81.5 -45.4)
LCHlch(54.0 93.3 330.9)
OKLCHoklch(0.639 0.265 331.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ad1 on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#df2ad1 on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue82.0%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow6.3%
Key (black)12.5%

Color previews

#df2ad1 text on a black background

contrast 5.39:1

Card sample

#df2ad1 text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ad1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ad1 in the Color Lab