Skip to content

#df2ad3

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

RGB
223, 42, 211
HSL
304°, 74%, 52%
CMYK
0, 81, 5, 13
Luminance
0.2205

Every format

HEX#df2ad3
RGBrgb(223, 42, 211)
HSLhsl(304, 74%, 52%)
CMYKcmyk(0%, 81%, 5%, 13%)
LABlab(54.1 81.8 -46.4)
LCHlch(54.1 94.0 330.5)
OKLCHoklch(0.640 0.267 331.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ad3 on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#df2ad3 on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue82.7%

CMYK percentages

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

Color previews

#df2ad3 text on a black background

contrast 5.41:1

Card sample

#df2ad3 text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ad3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ad3 in the Color Lab