Skip to content

#df0ecc

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

RGB
223, 14, 204
HSL
306°, 88%, 47%
CMYK
0, 94, 9, 13
Luminance
0.2036

Every format

HEX#df0ecc
RGBrgb(223, 14, 204)
HSLhsl(306, 88%, 47%)
CMYKcmyk(0%, 94%, 9%, 13%)
LABlab(52.3 85.1 -45.3)
LCHlch(52.3 96.4 332.0)
OKLCHoklch(0.626 0.276 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ecc on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#df0ecc on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.5%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow8.5%
Key (black)12.5%

Color previews

#df0ecc text on a black background

contrast 5.07:1

Card sample

#df0ecc text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ecc in the Color Lab