Skip to content

#dc2fd0

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

RGB
220, 47, 208
HSL
304°, 71%, 52%
CMYK
0, 79, 6, 14
Luminance
0.2180

Every format

HEX#dc2fd0
RGBrgb(220, 47, 208)
HSLhsl(304, 71%, 52%)
CMYKcmyk(0%, 79%, 6%, 14%)
LABlab(53.8 79.6 -45.1)
LCHlch(53.8 91.5 330.5)
OKLCHoklch(0.636 0.259 331.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2fd0 on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#dc2fd0 on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue81.6%

CMYK percentages

Cyan0.0%
Magenta78.6%
Yellow5.5%
Key (black)13.7%

Color previews

#dc2fd0 text on a black background

contrast 5.36:1

Card sample

#dc2fd0 text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2fd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2fd0 in the Color Lab