Skip to content

#df2aef

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

RGB
223, 42, 239
HSL
295°, 86%, 55%
CMYK
7, 82, 0, 6
Luminance
0.2358

Every format

HEX#df2aef
RGBrgb(223, 42, 239)
HSLhsl(295, 86%, 55%)
CMYKcmyk(7%, 82%, 0%, 6%)
LABlab(55.7 86.0 -59.7)
LCHlch(55.7 104.7 325.3)
OKLCHoklch(0.656 0.286 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2aef on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#df2aef on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta82.4%
Yellow0.0%
Key (black)6.3%

Color previews

#df2aef text on a black background

contrast 5.72:1

Card sample

#df2aef text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2aef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2aef in the Color Lab