Skip to content

#da2af4

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

RGB
218, 42, 244
HSL
292°, 90%, 56%
CMYK
11, 83, 0, 4
Luminance
0.2309

Every format

HEX#da2af4
RGBrgb(218, 42, 244)
HSLhsl(292, 90%, 56%)
CMYKcmyk(11%, 83%, 0%, 4%)
LABlab(55.2 86.0 -63.3)
LCHlch(55.2 106.8 323.6)
OKLCHoklch(0.652 0.288 321.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da2af4 on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#da2af4 on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green16.5%
Blue95.7%

CMYK percentages

Cyan10.7%
Magenta82.8%
Yellow0.0%
Key (black)4.3%

Color previews

#da2af4 text on a black background

contrast 5.62:1

Card sample

#da2af4 text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da2af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da2af4 in the Color Lab