Skip to content

#dc0fc2

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

RGB
220, 15, 194
HSL
308°, 87%, 46%
CMYK
0, 93, 12, 14
Luminance
0.1945

Every format

HEX#dc0fc2
RGBrgb(220, 15, 194)
HSLhsl(308, 87%, 46%)
CMYKcmyk(0%, 93%, 12%, 14%)
LABlab(51.2 83.2 -41.1)
LCHlch(51.2 92.8 333.7)
OKLCHoklch(0.616 0.269 335.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc0fc2 on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#dc0fc2 on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green5.9%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta93.2%
Yellow11.8%
Key (black)13.7%

Color previews

#dc0fc2 text on a black background

contrast 4.89:1

Card sample

#dc0fc2 text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc0fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc0fc2 in the Color Lab