Skip to content

#df2cd2

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

RGB
223, 44, 210
HSL
304°, 74%, 52%
CMYK
0, 80, 6, 13
Luminance
0.2214

Every format

HEX#df2cd2
RGBrgb(223, 44, 210)
HSLhsl(304, 74%, 52%)
CMYKcmyk(0%, 80%, 6%, 13%)
LABlab(54.2 81.2 -45.6)
LCHlch(54.2 93.2 330.7)
OKLCHoklch(0.640 0.264 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2cd2 on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#df2cd2 on black: 5.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow5.8%
Key (black)12.5%

Color previews

#df2cd2 text on a black background

contrast 5.43:1

Card sample

#df2cd2 text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2cd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2cd2 in the Color Lab