Skip to content

#db2df2

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

RGB
219, 45, 242
HSL
293°, 88%, 56%
CMYK
10, 81, 0, 5
Luminance
0.2335

Every format

HEX#db2df2
RGBrgb(219, 45, 242)
HSLhsl(293, 88%, 56%)
CMYKcmyk(10%, 81%, 0%, 5%)
LABlab(55.4 85.2 -61.8)
LCHlch(55.4 105.2 324.1)
OKLCHoklch(0.654 0.284 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2df2 on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#db2df2 on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green17.6%
Blue94.9%

CMYK percentages

Cyan9.5%
Magenta81.4%
Yellow0.0%
Key (black)5.1%

Color previews

#db2df2 text on a black background

contrast 5.67:1

Card sample

#db2df2 text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2df2 in the Color Lab