Skip to content

#dc0eee

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

RGB
220, 14, 238
HSL
295°, 89%, 49%
CMYK
8, 94, 0, 7
Luminance
0.2170

Every format

HEX#dc0eee
RGBrgb(220, 14, 238)
HSLhsl(295, 89%, 49%)
CMYKcmyk(8%, 94%, 0%, 7%)
LABlab(53.7 89.5 -62.3)
LCHlch(53.7 109.0 325.2)
OKLCHoklch(0.641 0.297 324.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc0eee on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#dc0eee on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green5.5%
Blue93.3%

CMYK percentages

Cyan7.6%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#dc0eee text on a black background

contrast 5.34:1

Card sample

#dc0eee text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc0eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc0eee in the Color Lab