Skip to content

#df0cd9

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

RGB
223, 12, 217
HSL
302°, 90%, 46%
CMYK
0, 95, 3, 13
Luminance
0.2096

Every format

HEX#df0cd9
RGBrgb(223, 12, 217)
HSLhsl(302, 90%, 46%)
CMYKcmyk(0%, 95%, 3%, 13%)
LABlab(52.9 87.1 -51.6)
LCHlch(52.9 101.2 329.3)
OKLCHoklch(0.632 0.285 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cd9 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#df0cd9 on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue85.1%

CMYK percentages

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

Color previews

#df0cd9 text on a black background

contrast 5.19:1

Card sample

#df0cd9 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cd9 in the Color Lab