Skip to content

#d92fdf

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

RGB
217, 47, 223
HSL
298°, 73%, 53%
CMYK
3, 79, 0, 13
Luminance
0.2211

Every format

HEX#d92fdf
RGBrgb(217, 47, 223)
HSLhsl(298, 73%, 53%)
CMYKcmyk(3%, 79%, 0%, 13%)
LABlab(54.1 81.3 -53.1)
LCHlch(54.1 97.1 326.8)
OKLCHoklch(0.640 0.269 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d92fdf on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#d92fdf on black: 5.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green18.4%
Blue87.5%

CMYK percentages

Cyan2.7%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#d92fdf text on a black background

contrast 5.42:1

Card sample

#d92fdf text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d92fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d92fdf in the Color Lab