Skip to content

#df2ecc

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

RGB
223, 46, 204
HSL
306°, 73%, 53%
CMYK
0, 79, 9, 13
Luminance
0.2200

Every format

HEX#df2ecc
RGBrgb(223, 46, 204)
HSLhsl(306, 73%, 53%)
CMYKcmyk(0%, 79%, 9%, 13%)
LABlab(54.0 79.9 -42.4)
LCHlch(54.0 90.5 332.0)
OKLCHoklch(0.638 0.259 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ecc on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#df2ecc on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow8.5%
Key (black)12.5%

Color previews

#df2ecc text on a black background

contrast 5.40:1

Card sample

#df2ecc text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ecc in the Color Lab