Skip to content

#dc2ffd

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

RGB
220, 47, 253
HSL
290°, 98%, 59%
CMYK
13, 81, 0, 1
Luminance
0.2434

Every format

HEX#dc2ffd
RGBrgb(220, 47, 253)
HSLhsl(290, 98%, 59%)
CMYKcmyk(13%, 81%, 0%, 1%)
LABlab(56.4 86.7 -66.3)
LCHlch(56.4 109.1 322.6)
OKLCHoklch(0.663 0.291 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2ffd on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ffd on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green18.4%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta81.4%
Yellow0.0%
Key (black)0.8%

Color previews

#dc2ffd text on a black background

contrast 5.87:1

Card sample

#dc2ffd text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2ffd in the Color Lab