Skip to content

#df2bf6

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

RGB
223, 43, 246
HSL
293°, 92%, 57%
CMYK
9, 83, 0, 4
Luminance
0.2407

Every format

HEX#df2bf6
RGBrgb(223, 43, 246)
HSLhsl(293, 92%, 57%)
CMYKcmyk(9%, 83%, 0%, 4%)
LABlab(56.2 86.9 -62.8)
LCHlch(56.2 107.2 324.2)
OKLCHoklch(0.661 0.290 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2bf6 on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#df2bf6 on black: 5.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.9%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta82.5%
Yellow0.0%
Key (black)3.5%

Color previews

#df2bf6 text on a black background

contrast 5.81:1

Card sample

#df2bf6 text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2bf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2bf6 in the Color Lab