Skip to content

#df2dfb

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

RGB
223, 45, 251
HSL
292°, 96%, 58%
CMYK
11, 82, 0, 2
Luminance
0.2453

Every format

HEX#df2dfb
RGBrgb(223, 45, 251)
HSLhsl(292, 96%, 58%)
CMYKcmyk(11%, 82%, 0%, 2%)
LABlab(56.6 87.3 -64.8)
LCHlch(56.6 108.8 323.4)
OKLCHoklch(0.665 0.292 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2dfb on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#df2dfb on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.6%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#df2dfb text on a black background

contrast 5.91:1

Card sample

#df2dfb text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2dfb in the Color Lab