Skip to content

#df2feb

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

RGB
223, 47, 235
HSL
296°, 83%, 55%
CMYK
5, 80, 0, 8
Luminance
0.2372

Every format

HEX#df2feb
RGBrgb(223, 47, 235)
HSLhsl(296, 83%, 55%)
CMYKcmyk(5%, 80%, 0%, 8%)
LABlab(55.8 84.3 -57.2)
LCHlch(55.8 101.9 325.8)
OKLCHoklch(0.656 0.280 325.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green18.4%
Blue92.2%

CMYK percentages

Cyan5.1%
Magenta80.0%
Yellow0.0%
Key (black)7.8%

Color previews

#df2feb text on a black background

contrast 5.74:1

Card sample

#df2feb text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2feb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2feb in the Color Lab