Skip to content

#dc2df6

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

RGB
220, 45, 246
HSL
292°, 92%, 57%
CMYK
11, 82, 0, 4
Luminance
0.2375

Every format

HEX#dc2df6
RGBrgb(220, 45, 246)
HSLhsl(292, 92%, 57%)
CMYKcmyk(11%, 82%, 0%, 4%)
LABlab(55.8 86.0 -63.3)
LCHlch(55.8 106.8 323.6)
OKLCHoklch(0.658 0.288 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2df6 on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#dc2df6 on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue96.5%

CMYK percentages

Cyan10.6%
Magenta81.7%
Yellow0.0%
Key (black)3.5%

Color previews

#dc2df6 text on a black background

contrast 5.75:1

Card sample

#dc2df6 text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2df6 in the Color Lab