Skip to content

#d52edf

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

RGB
213, 46, 223
HSL
297°, 73%, 53%
CMYK
5, 79, 0, 13
Luminance
0.2143

Every format

HEX#d52edf
RGBrgb(213, 46, 223)
HSLhsl(297, 73%, 53%)
CMYKcmyk(5%, 79%, 0%, 13%)
LABlab(53.4 80.8 -54.3)
LCHlch(53.4 97.4 326.1)
OKLCHoklch(0.634 0.268 325.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.5%
Green18.0%
Blue87.5%

CMYK percentages

Cyan4.5%
Magenta79.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d52edf text on a black background

contrast 5.29:1

Card sample

#d52edf text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d52edf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d52edf in the Color Lab