Skip to content

#db4af4

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

RGB
219, 74, 244
HSL
291°, 89%, 62%
CMYK
10, 70, 0, 4
Luminance
0.2649

Every format

HEX#db4af4
RGBrgb(219, 74, 244)
HSLhsl(291, 89%, 62%)
CMYKcmyk(10%, 70%, 0%, 4%)
LABlab(58.5 77.0 -58.0)
LCHlch(58.5 96.4 323.0)
OKLCHoklch(0.676 0.260 321.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db4af4 on white: 3.33:1
AA ✗ fail · AA-large · AAA
Aa
#db4af4 on black: 6.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green29.0%
Blue95.7%

CMYK percentages

Cyan10.2%
Magenta69.7%
Yellow0.0%
Key (black)4.3%

Color previews

#db4af4 text on a black background

contrast 6.30:1

Card sample

#db4af4 text on a white background

contrast 3.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db4af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db4af4 in the Color Lab