Skip to content

#df1cd2

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

RGB
223, 28, 210
HSL
304°, 78%, 49%
CMYK
0, 87, 6, 13
Luminance
0.2117

Every format

HEX#df1cd2
RGBrgb(223, 28, 210)
HSLhsl(304, 78%, 49%)
CMYKcmyk(0%, 87%, 6%, 13%)
LABlab(53.1 84.3 -47.3)
LCHlch(53.1 96.6 330.7)
OKLCHoklch(0.633 0.274 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1cd2 on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#df1cd2 on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.0%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta87.4%
Yellow5.8%
Key (black)12.5%

Color previews

#df1cd2 text on a black background

contrast 5.23:1

Card sample

#df1cd2 text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1cd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1cd2 in the Color Lab