Skip to content

#df0cd1

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

RGB
223, 12, 209
HSL
304°, 90%, 46%
CMYK
0, 95, 6, 13
Luminance
0.2055

Every format

HEX#df0cd1
RGBrgb(223, 12, 209)
HSLhsl(304, 90%, 46%)
CMYKcmyk(0%, 95%, 6%, 13%)
LABlab(52.5 86.0 -47.8)
LCHlch(52.5 98.3 330.9)
OKLCHoklch(0.628 0.280 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cd1 on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#df0cd1 on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue82.0%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow6.3%
Key (black)12.5%

Color previews

#df0cd1 text on a black background

contrast 5.11:1

Card sample

#df0cd1 text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cd1 in the Color Lab