Skip to content

#df0cdf

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

RGB
223, 12, 223
HSL
300°, 90%, 46%
CMYK
0, 95, 0, 13
Luminance
0.2128

Every format

HEX#df0cdf
RGBrgb(223, 12, 223)
HSLhsl(300, 90%, 46%)
CMYKcmyk(0%, 95%, 0%, 13%)
LABlab(53.3 87.9 -54.5)
LCHlch(53.3 103.5 328.2)
OKLCHoklch(0.636 0.289 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cdf on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#df0cdf on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue87.5%

CMYK percentages

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

Color previews

#df0cdf text on a black background

contrast 5.26:1

Card sample

#df0cdf text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cdf in the Color Lab