Skip to content

#dc2dcf

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

RGB
220, 45, 207
HSL
305°, 71%, 52%
CMYK
0, 80, 6, 14
Luminance
0.2160

Every format

HEX#dc2dcf
RGBrgb(220, 45, 207)
HSLhsl(305, 71%, 52%)
CMYKcmyk(0%, 80%, 6%, 14%)
LABlab(53.6 80.0 -44.9)
LCHlch(53.6 91.7 330.7)
OKLCHoklch(0.635 0.260 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2dcf on white: 3.95:1
AA ✗ fail · AA-large · AAA
Aa
#dc2dcf on black: 5.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta79.5%
Yellow5.9%
Key (black)13.7%

Color previews

#dc2dcf text on a black background

contrast 5.32:1

Card sample

#dc2dcf text on a white background

contrast 3.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2dcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2dcf in the Color Lab