Skip to content
Kolorvia
#d52f9b

Color #d52f9b

A moderately saturated medium magenta.

Conversions

HEX
#d52f9b
RGB
rgb(213, 47, 155)
HSL
hsl(321, 66.4%, 51%)
HSV / HSB
hsv(321, 77.9%, 83.5%)
CMYK
cmyk(0%, 77.9%, 27.2%, 16.5%)
LAB
lab(50.16, 71.08, -19.97)
LCH
lch(50.16, 73.83, 344.31)
OKLCH
oklch(60%, 0.2226, 346.23)
HWB
hwb(321, 18.4%, 16.5%)

Harmony colors

Complementary

#2fd569

Analogous

#bc2fd5
#d52f9b
#d52f48

Triadic

#d52f9b
#9bd52f
#2f9bd5

Split-complementary

#d52f9b
#48d52f
#2fd5bc

Tetradic

#d52f9b
#d5692f
#2fd569
#2f9bd5

Square

#d52f9b
#d5bc2f
#2fd569
#2f48d5

Shades

Color #d52f9b mixed toward black.

#b42482
#901d68
#6c164e
#480f34
#24071a

Tints

Color #d52f9b mixed toward white.

#dc52ac
#e374bc
#ea97cd
#f1bade
#f8dcee

Tones

Color #d52f9b mixed toward gray.

#c73d97
#b94b93
#ac598e
#9e668a
#907486

Accessibility

Aa White text on this color
4.46:1
Aa Black text on this color
4.71:1

Black text reads better on this background (4.71:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#a8a68a · ΔE 47.5

Deuteranopia

#afb786 · ΔE 59

Tritanopia

#d07b77 · ΔE 23.7

Achromatopsia

#777777 · ΔE 27.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #d52f9b;
Tailwind (arbitrary value)
bg-[#d52f9b]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Lavender Blush #fff0f5
Pale Violet Red #db7093

Frequently asked questions

#d52f9b (#d52f9b) is rgb(213, 47, 155) in RGB.

No, #d52f9b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #d52f9b, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.