Skip to content

#dc2fd5

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

RGB
220, 47, 213
HSL
302°, 71%, 52%
CMYK
0, 79, 3, 14
Luminance
0.2205

Every format

HEX#dc2fd5
RGBrgb(220, 47, 213)
HSLhsl(302, 71%, 52%)
CMYKcmyk(0%, 79%, 3%, 14%)
LABlab(54.1 80.4 -47.5)
LCHlch(54.1 93.4 329.4)
OKLCHoklch(0.639 0.263 330.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2fd5 on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#dc2fd5 on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta78.6%
Yellow3.2%
Key (black)13.7%

Color previews

#dc2fd5 text on a black background

contrast 5.41:1

Card sample

#dc2fd5 text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2fd5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2fd5 in the Color Lab