Skip to content

#d92fd2

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

RGB
217, 47, 210
HSL
303°, 69%, 52%
CMYK
0, 78, 3, 15
Luminance
0.2144

Every format

HEX#d92fd2
RGBrgb(217, 47, 210)
HSLhsl(303, 69%, 52%)
CMYKcmyk(0%, 78%, 3%, 15%)
LABlab(53.4 79.3 -46.9)
LCHlch(53.4 92.2 329.4)
OKLCHoklch(0.633 0.259 330.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d92fd2 on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#d92fd2 on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green18.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow3.2%
Key (black)14.9%

Color previews

#d92fd2 text on a black background

contrast 5.29:1

Card sample

#d92fd2 text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 47, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 47, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d92fd2;
background: linear-gradient(135deg, #d92fd2, #D92F61);

Monochromatic scale

Palettes built from #d92fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d92fd2 in the Color Lab