Skip to content

#d32df0

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

RGB
211, 45, 240
HSL
291°, 87%, 56%
CMYK
12, 81, 0, 6
Luminance
0.2202

Every format

HEX#d32df0
RGBrgb(211, 45, 240)
HSLhsl(291, 87%, 56%)
CMYKcmyk(12%, 81%, 0%, 6%)
LABlab(54.0 83.5 -62.9)
LCHlch(54.0 104.5 323.0)
OKLCHoklch(0.641 0.280 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d32df0 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#d32df0 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green17.6%
Blue94.1%

CMYK percentages

Cyan12.1%
Magenta81.3%
Yellow0.0%
Key (black)5.9%

Color previews

#d32df0 text on a black background

contrast 5.40:1

Card sample

#d32df0 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d32df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d32df0 in the Color Lab