Skip to content

#df2bef

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

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

Every format

HEX#df2bef
RGBrgb(223, 43, 239)
HSLhsl(295, 86%, 55%)
CMYKcmyk(7%, 82%, 0%, 6%)
LABlab(55.7 85.8 -59.6)
LCHlch(55.7 104.5 325.2)
OKLCHoklch(0.656 0.285 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#df2bef text on a black background

contrast 5.73:1

Card sample

#df2bef text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2bef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2bef in the Color Lab