Skip to content

#dc2ddc

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

RGB
220, 45, 220
HSL
300°, 71%, 52%
CMYK
0, 80, 0, 14
Luminance
0.2226

Every format

HEX#dc2ddc
RGBrgb(220, 45, 220)
HSLhsl(300, 71%, 52%)
CMYKcmyk(0%, 80%, 0%, 14%)
LABlab(54.3 81.9 -51.2)
LCHlch(54.3 96.6 328.0)
OKLCHoklch(0.642 0.269 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2ddc on white: 3.85:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ddc on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta79.5%
Yellow0.0%
Key (black)13.7%

Color previews

#dc2ddc text on a black background

contrast 5.45:1

Card sample

#dc2ddc text on a white background

contrast 3.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 45, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 45, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc2ddc;
background: linear-gradient(135deg, #dc2ddc, #DC2D67);

Monochromatic scale

Palettes built from #dc2ddc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2ddc in the Color Lab