Skip to content

#df2cef

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

RGB
223, 44, 239
HSL
295°, 86%, 56%
CMYK
7, 82, 0, 6
Luminance
0.2372

Every format

HEX#df2cef
RGBrgb(223, 44, 239)
HSLhsl(295, 86%, 56%)
CMYKcmyk(7%, 82%, 0%, 6%)
LABlab(55.8 85.6 -59.4)
LCHlch(55.8 104.2 325.2)
OKLCHoklch(0.657 0.284 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2cef on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#df2cef on black: 5.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#df2cef text on a black background

contrast 5.74:1

Card sample

#df2cef text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2cef in the Color Lab