Skip to content

#df0dfb

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

RGB
223, 13, 251
HSL
293°, 97%, 52%
CMYK
11, 95, 0, 2
Luminance
0.2294

Every format

HEX#df0dfb
RGBrgb(223, 13, 251)
HSLhsl(293, 97%, 52%)
CMYKcmyk(11%, 95%, 0%, 2%)
LABlab(55.0 92.0 -67.4)
LCHlch(55.0 114.1 323.8)
OKLCHoklch(0.654 0.307 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0dfb on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#df0dfb on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.1%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#df0dfb text on a black background

contrast 5.59:1

Card sample

#df0dfb text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0dfb in the Color Lab