Skip to content

#dc2dfe

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

RGB
220, 45, 254
HSL
290°, 99%, 59%
CMYK
13, 82, 0, 0
Luminance
0.2425

Every format

HEX#dc2dfe
RGBrgb(220, 45, 254)
HSLhsl(290, 99%, 59%)
CMYKcmyk(13%, 82%, 0%, 0%)
LABlab(56.3 87.3 -67.0)
LCHlch(56.3 110.0 322.5)
OKLCHoklch(0.663 0.293 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2dfe on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#dc2dfe on black: 5.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#dc2dfe text on a black background

contrast 5.85:1

Card sample

#dc2dfe text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2dfe in the Color Lab