Skip to content

#df2aeb

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

RGB
223, 42, 235
HSL
296°, 83%, 54%
CMYK
5, 82, 0, 8
Luminance
0.2334

Every format

HEX#df2aeb
RGBrgb(223, 42, 235)
HSLhsl(296, 83%, 54%)
CMYKcmyk(5%, 82%, 0%, 8%)
LABlab(55.4 85.4 -57.8)
LCHlch(55.4 103.1 325.9)
OKLCHoklch(0.654 0.283 325.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2aeb on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#df2aeb on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue92.2%

CMYK percentages

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

Color previews

#df2aeb text on a black background

contrast 5.67:1

Card sample

#df2aeb text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2aeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2aeb in the Color Lab