Skip to content

#de2cdf

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

RGB
222, 44, 223
HSL
300°, 74%, 52%
CMYK
0, 80, 0, 13
Luminance
0.2266

Every format

HEX#de2cdf
RGBrgb(222, 44, 223)
HSLhsl(300, 74%, 52%)
CMYKcmyk(0%, 80%, 0%, 13%)
LABlab(54.7 83.0 -52.2)
LCHlch(54.7 98.0 327.8)
OKLCHoklch(0.646 0.273 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#de2cdf on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#de2cdf on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green17.3%
Blue87.5%

CMYK percentages

Cyan0.4%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#de2cdf text on a black background

contrast 5.53:1

Card sample

#de2cdf text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #de2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #de2cdf in the Color Lab