Skip to content

#dc2df5

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

RGB
220, 45, 245
HSL
293°, 91%, 57%
CMYK
10, 82, 0, 4
Luminance
0.2368

Every format

HEX#dc2df5
RGBrgb(220, 45, 245)
HSLhsl(293, 91%, 57%)
CMYKcmyk(10%, 82%, 0%, 4%)
LABlab(55.8 85.8 -62.9)
LCHlch(55.8 106.4 323.8)
OKLCHoklch(0.657 0.287 322.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2df5 on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#dc2df5 on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.6%
Blue96.1%

CMYK percentages

Cyan10.2%
Magenta81.6%
Yellow0.0%
Key (black)3.9%

Color previews

#dc2df5 text on a black background

contrast 5.74:1

Card sample

#dc2df5 text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2df5 in the Color Lab