Skip to content

#dc2cfd

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

RGB
220, 44, 253
HSL
291°, 98%, 58%
CMYK
13, 83, 0, 1
Luminance
0.2411

Every format

HEX#dc2cfd
RGBrgb(220, 44, 253)
HSLhsl(291, 98%, 58%)
CMYKcmyk(13%, 83%, 0%, 1%)
LABlab(56.2 87.4 -66.7)
LCHlch(56.2 109.9 322.7)
OKLCHoklch(0.662 0.293 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc2cfd on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#dc2cfd on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green17.3%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#dc2cfd text on a black background

contrast 5.82:1

Card sample

#dc2cfd text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc2cfd in the Color Lab