Skip to content

#df2cf6

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

RGB
223, 44, 246
HSL
293°, 92%, 57%
CMYK
9, 82, 0, 4
Luminance
0.2414

Every format

HEX#df2cf6
RGBrgb(223, 44, 246)
HSLhsl(293, 92%, 57%)
CMYKcmyk(9%, 82%, 0%, 4%)
LABlab(56.2 86.7 -62.7)
LCHlch(56.2 107.0 324.1)
OKLCHoklch(0.661 0.289 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2cf6 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#df2cf6 on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta82.1%
Yellow0.0%
Key (black)3.5%

Color previews

#df2cf6 text on a black background

contrast 5.83:1

Card sample

#df2cf6 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2cf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2cf6 in the Color Lab