Skip to content

#dc2fdc

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

RGB
220, 47, 220
HSL
300°, 71%, 52%
CMYK
0, 79, 0, 14
Luminance
0.2242

Every format

HEX#dc2fdc
RGBrgb(220, 47, 220)
HSLhsl(300, 71%, 52%)
CMYKcmyk(0%, 79%, 0%, 14%)
LABlab(54.5 81.4 -50.9)
LCHlch(54.5 96.0 328.0)
OKLCHoklch(0.643 0.268 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2fdc on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#dc2fdc on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue86.3%

CMYK percentages

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

Color previews

#dc2fdc text on a black background

contrast 5.48:1

Card sample

#dc2fdc text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2fdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2fdc in the Color Lab