Skip to content

#dc2df4

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

RGB
220, 45, 244
HSL
293°, 90%, 57%
CMYK
10, 82, 0, 4
Luminance
0.2362

Every format

HEX#dc2df4
RGBrgb(220, 45, 244)
HSLhsl(293, 90%, 57%)
CMYKcmyk(10%, 82%, 0%, 4%)
LABlab(55.7 85.7 -62.4)
LCHlch(55.7 106.0 323.9)
OKLCHoklch(0.656 0.286 322.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2df4 on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#dc2df4 on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue95.7%

CMYK percentages

Cyan9.8%
Magenta81.6%
Yellow0.0%
Key (black)4.3%

Color previews

#dc2df4 text on a black background

contrast 5.72:1

Card sample

#dc2df4 text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2df4 in the Color Lab