Skip to content

#dc2cdf

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

RGB
220, 44, 223
HSL
299°, 74%, 52%
CMYK
1, 80, 0, 13
Luminance
0.2234

Every format

HEX#dc2cdf
RGBrgb(220, 44, 223)
HSLhsl(299, 74%, 52%)
CMYKcmyk(1%, 80%, 0%, 13%)
LABlab(54.4 82.6 -52.7)
LCHlch(54.4 98.0 327.4)
OKLCHoklch(0.643 0.272 327.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2cdf on white: 3.84:1
AA ✗ fail · AA-large · AAA
Aa
#dc2cdf on black: 5.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#dc2cdf text on a black background

contrast 5.47:1

Card sample

#dc2cdf text on a white background

contrast 3.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2cdf in the Color Lab