Skip to content

#db0df2

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

RGB
219, 13, 242
HSL
294°, 90%, 50%
CMYK
10, 95, 0, 5
Luminance
0.2176

Every format

HEX#db0df2
RGBrgb(219, 13, 242)
HSLhsl(294, 90%, 50%)
CMYKcmyk(10%, 95%, 0%, 5%)
LABlab(53.8 90.0 -64.4)
LCHlch(53.8 110.7 324.4)
OKLCHoklch(0.642 0.300 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db0df2 on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#db0df2 on black: 5.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green5.1%
Blue94.9%

CMYK percentages

Cyan9.5%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#db0df2 text on a black background

contrast 5.35:1

Card sample

#db0df2 text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db0df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db0df2 in the Color Lab