Skip to content

#df0cd0

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

RGB
223, 12, 208
HSL
304°, 90%, 46%
CMYK
0, 95, 7, 13
Luminance
0.2050

Every format

HEX#df0cd0
RGBrgb(223, 12, 208)
HSLhsl(304, 90%, 46%)
CMYKcmyk(0%, 95%, 7%, 13%)
LABlab(52.4 85.8 -47.3)
LCHlch(52.4 98.0 331.1)
OKLCHoklch(0.627 0.279 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cd0 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#df0cd0 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue81.6%

CMYK percentages

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

Color previews

#df0cd0 text on a black background

contrast 5.10:1

Card sample

#df0cd0 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cd0 in the Color Lab