Skip to content

#d72fdf

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

RGB
215, 47, 223
HSL
297°, 73%, 53%
CMYK
4, 79, 0, 13
Luminance
0.2181

Every format

HEX#d72fdf
RGBrgb(215, 47, 223)
HSLhsl(297, 73%, 53%)
CMYKcmyk(4%, 79%, 0%, 13%)
LABlab(53.8 81.0 -53.7)
LCHlch(53.8 97.1 326.5)
OKLCHoklch(0.638 0.268 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d72fdf on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#d72fdf on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green18.4%
Blue87.5%

CMYK percentages

Cyan3.6%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#d72fdf text on a black background

contrast 5.36:1

Card sample

#d72fdf text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d72fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d72fdf in the Color Lab