Skip to content

#df4bfb

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

RGB
223, 75, 251
HSL
291°, 96%, 64%
CMYK
11, 70, 0, 2
Luminance
0.2769

Every format

HEX#df4bfb
RGBrgb(223, 75, 251)
HSLhsl(291, 96%, 64%)
CMYKcmyk(11%, 70%, 0%, 2%)
LABlab(59.6 78.7 -60.0)
LCHlch(59.6 99.0 322.7)
OKLCHoklch(0.686 0.266 320.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4bfb on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#df4bfb on black: 6.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.4%
Blue98.4%

CMYK percentages

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

Color previews

#df4bfb text on a black background

contrast 6.54:1

Card sample

#df4bfb text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4bfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4bfb in the Color Lab