Skip to content

#df20cd

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

RGB
223, 32, 205
HSL
306°, 75%, 50%
CMYK
0, 86, 8, 13
Luminance
0.2113

Every format

HEX#df20cd
RGBrgb(223, 32, 205)
HSLhsl(306, 75%, 50%)
CMYKcmyk(0%, 86%, 8%, 13%)
LABlab(53.1 82.9 -44.5)
LCHlch(53.1 94.1 331.8)
OKLCHoklch(0.632 0.269 332.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green12.5%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta85.7%
Yellow8.1%
Key (black)12.5%

Color previews

#df20cd text on a black background

contrast 5.23:1

Card sample

#df20cd text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df20cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df20cd in the Color Lab