Skip to content

#dc2adf

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

RGB
220, 42, 223
HSL
299°, 74%, 52%
CMYK
1, 81, 0, 13
Luminance
0.2220

Every format

HEX#dc2adf
RGBrgb(220, 42, 223)
HSLhsl(299, 74%, 52%)
CMYKcmyk(1%, 81%, 0%, 13%)
LABlab(54.2 83.0 -53.0)
LCHlch(54.2 98.5 327.5)
OKLCHoklch(0.642 0.274 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2adf on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#dc2adf on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green16.5%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta81.2%
Yellow0.0%
Key (black)12.5%

Color previews

#dc2adf text on a black background

contrast 5.44:1

Card sample

#dc2adf text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2adf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2adf in the Color Lab