Skip to content

#df2ceb

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

RGB
223, 44, 235
HSL
296°, 83%, 55%
CMYK
5, 81, 0, 8
Luminance
0.2349

Every format

HEX#df2ceb
RGBrgb(223, 44, 235)
HSLhsl(296, 83%, 55%)
CMYKcmyk(5%, 81%, 0%, 8%)
LABlab(55.6 85.0 -57.6)
LCHlch(55.6 102.6 325.9)
OKLCHoklch(0.655 0.282 325.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ceb on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#df2ceb on black: 5.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta81.3%
Yellow0.0%
Key (black)7.8%

Color previews

#df2ceb text on a black background

contrast 5.70:1

Card sample

#df2ceb text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ceb in the Color Lab