Skip to content

#df0cd6

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

RGB
223, 12, 214
HSL
303°, 90%, 46%
CMYK
0, 95, 4, 13
Luminance
0.2081

Every format

HEX#df0cd6
RGBrgb(223, 12, 214)
HSLhsl(303, 90%, 46%)
CMYKcmyk(0%, 95%, 4%, 13%)
LABlab(52.7 86.7 -50.2)
LCHlch(52.7 100.2 329.9)
OKLCHoklch(0.631 0.283 330.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cd6 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#df0cd6 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue83.9%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow4.0%
Key (black)12.5%

Color previews

#df0cd6 text on a black background

contrast 5.16:1

Card sample

#df0cd6 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cd6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cd6 in the Color Lab