Skip to content

#d11df2

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

RGB
209, 29, 242
HSL
291°, 89%, 53%
CMYK
14, 88, 0, 5
Luminance
0.2084

Every format

HEX#d11df2
RGBrgb(209, 29, 242)
HSLhsl(291, 89%, 53%)
CMYKcmyk(14%, 88%, 0%, 5%)
LABlab(52.8 86.6 -66.1)
LCHlch(52.8 109.0 322.7)
OKLCHoklch(0.632 0.290 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d11df2 on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#d11df2 on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green11.4%
Blue94.9%

CMYK percentages

Cyan13.6%
Magenta88.0%
Yellow0.0%
Key (black)5.1%

Color previews

#d11df2 text on a black background

contrast 5.17:1

Card sample

#d11df2 text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d11df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d11df2 in the Color Lab