Skip to content

#dc2cfe

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

RGB
220, 44, 254
HSL
290°, 99%, 58%
CMYK
13, 83, 0, 0
Luminance
0.2417

Every format

HEX#dc2cfe
RGBrgb(220, 44, 254)
HSLhsl(290, 99%, 58%)
CMYKcmyk(13%, 83%, 0%, 0%)
LABlab(56.3 87.5 -67.1)
LCHlch(56.3 110.3 322.5)
OKLCHoklch(0.662 0.294 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2cfe on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#dc2cfe on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue99.6%

CMYK percentages

Cyan13.4%
Magenta82.7%
Yellow0.0%
Key (black)0.4%

Color previews

#dc2cfe text on a black background

contrast 5.83:1

Card sample

#dc2cfe text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2cfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2cfe in the Color Lab