Skip to content

#dc2ecf

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

RGB
220, 46, 207
HSL
305°, 71%, 52%
CMYK
0, 79, 6, 14
Luminance
0.2167

Every format

HEX#dc2ecf
RGBrgb(220, 46, 207)
HSLhsl(305, 71%, 52%)
CMYKcmyk(0%, 79%, 6%, 14%)
LABlab(53.7 79.7 -44.7)
LCHlch(53.7 91.4 330.7)
OKLCHoklch(0.635 0.260 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2ecf on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ecf on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.0%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta79.1%
Yellow5.9%
Key (black)13.7%

Color previews

#dc2ecf text on a black background

contrast 5.33:1

Card sample

#dc2ecf text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2ecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2ecf in the Color Lab