Skip to content

#db0dfb

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

RGB
219, 13, 251
HSL
292°, 97%, 52%
CMYK
13, 95, 0, 2
Luminance
0.2231

Every format

HEX#db0dfb
RGBrgb(219, 13, 251)
HSLhsl(292, 97%, 52%)
CMYKcmyk(13%, 95%, 0%, 2%)
LABlab(54.4 91.5 -68.5)
LCHlch(54.4 114.3 323.2)
OKLCHoklch(0.648 0.306 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db0dfb on white: 3.84:1
AA ✗ fail · AA-large · AAA
Aa
#db0dfb on black: 5.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green5.1%
Blue98.4%

CMYK percentages

Cyan12.7%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#db0dfb text on a black background

contrast 5.46:1

Card sample

#db0dfb text on a white background

contrast 3.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db0dfb in the Color Lab