Skip to content

#dc2acf

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

RGB
220, 42, 207
HSL
304°, 72%, 51%
CMYK
0, 81, 6, 14
Luminance
0.2138

Every format

HEX#dc2acf
RGBrgb(220, 42, 207)
HSLhsl(304, 72%, 51%)
CMYKcmyk(0%, 81%, 6%, 14%)
LABlab(53.4 80.7 -45.2)
LCHlch(53.4 92.5 330.7)
OKLCHoklch(0.633 0.263 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2acf on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#dc2acf on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green16.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta80.9%
Yellow5.9%
Key (black)13.7%

Color previews

#dc2acf text on a black background

contrast 5.28:1

Card sample

#dc2acf text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2acf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2acf in the Color Lab