Skip to content

#da4ff2

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

RGB
218, 79, 242
HSL
291°, 86%, 63%
CMYK
10, 67, 0, 5
Luminance
0.2691

Every format

HEX#da4ff2
RGBrgb(218, 79, 242)
HSLhsl(291, 86%, 63%)
CMYKcmyk(10%, 67%, 0%, 5%)
LABlab(58.9 74.6 -56.2)
LCHlch(58.9 93.4 323.0)
OKLCHoklch(0.678 0.252 321.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da4ff2 on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#da4ff2 on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green31.0%
Blue94.9%

CMYK percentages

Cyan9.9%
Magenta67.4%
Yellow0.0%
Key (black)5.1%

Color previews

#da4ff2 text on a black background

contrast 6.38:1

Card sample

#da4ff2 text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da4ff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da4ff2 in the Color Lab