Skip to content

#db2af0

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

RGB
219, 42, 240
HSL
294°, 87%, 55%
CMYK
9, 83, 0, 6
Luminance
0.2301

Every format

HEX#db2af0
RGBrgb(219, 42, 240)
HSLhsl(294, 87%, 55%)
CMYKcmyk(9%, 83%, 0%, 6%)
LABlab(55.1 85.5 -61.2)
LCHlch(55.1 105.2 324.4)
OKLCHoklch(0.651 0.285 323.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2af0 on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#db2af0 on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green16.5%
Blue94.1%

CMYK percentages

Cyan8.8%
Magenta82.5%
Yellow0.0%
Key (black)5.9%

Color previews

#db2af0 text on a black background

contrast 5.60:1

Card sample

#db2af0 text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2af0 in the Color Lab