Skip to content

#df4bf2

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

RGB
223, 75, 242
HSL
293°, 87%, 62%
CMYK
8, 69, 0, 5
Luminance
0.2713

Every format

HEX#df4bf2
RGBrgb(223, 75, 242)
HSLhsl(293, 87%, 62%)
CMYKcmyk(8%, 69%, 0%, 5%)
LABlab(59.1 77.2 -55.9)
LCHlch(59.1 95.3 324.1)
OKLCHoklch(0.681 0.259 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4bf2 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#df4bf2 on black: 6.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.4%
Blue94.9%

CMYK percentages

Cyan7.9%
Magenta69.0%
Yellow0.0%
Key (black)5.1%

Color previews

#df4bf2 text on a black background

contrast 6.43:1

Card sample

#df4bf2 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4bf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4bf2 in the Color Lab