Skip to content

#dc2eee

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

RGB
220, 46, 238
HSL
294°, 85%, 56%
CMYK
8, 81, 0, 7
Luminance
0.2334

Every format

HEX#dc2eee
RGBrgb(220, 46, 238)
HSLhsl(294, 85%, 56%)
CMYKcmyk(8%, 81%, 0%, 7%)
LABlab(55.4 84.5 -59.5)
LCHlch(55.4 103.3 324.8)
OKLCHoklch(0.653 0.281 323.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2eee on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#dc2eee on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.0%
Blue93.3%

CMYK percentages

Cyan7.6%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#dc2eee text on a black background

contrast 5.67:1

Card sample

#dc2eee text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2eee in the Color Lab