Skip to content

#dc2fd1

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

RGB
220, 47, 209
HSL
304°, 71%, 52%
CMYK
0, 79, 5, 14
Luminance
0.2185

Every format

HEX#dc2fd1
RGBrgb(220, 47, 209)
HSLhsl(304, 71%, 52%)
CMYKcmyk(0%, 79%, 5%, 14%)
LABlab(53.9 79.8 -45.6)
LCHlch(53.9 91.9 330.3)
OKLCHoklch(0.637 0.260 331.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2fd1 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#dc2fd1 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue82.0%

CMYK percentages

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

Color previews

#dc2fd1 text on a black background

contrast 5.37:1

Card sample

#dc2fd1 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2fd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2fd1 in the Color Lab