Skip to content
Kolorvia
#d02a9d

Color #d02a9d

A moderately saturated medium magenta.

Conversions

HEX
#d02a9d
RGB
rgb(208, 42, 157)
HSL
hsl(318.4, 66.4%, 49%)
HSV / HSB
hsv(318.4, 79.8%, 81.6%)
CMYK
cmyk(0%, 79.8%, 24.5%, 18.4%)
LAB
lab(48.89, 71.47, -23.19)
LCH
lch(48.89, 75.14, 342.02)
OKLCH
oklch(58.9%, 0.2251, 344.01)
HWB
hwb(318.4, 16.5%, 18.4%)

Harmony colors

Complementary

#2ad05d

Analogous

#b02ad0
#d02a9d
#d02a4a

Triadic

#d02a9d
#9dd02a
#2a9dd0

Split-complementary

#d02a9d
#4ad02a
#2ad0b0

Tetradic

#d02a9d
#d05d2a
#2ad05d
#2a9dd0

Square

#d02a9d
#d0b02a
#2ad05d
#2a4ad0

Shades

Color #d02a9d mixed toward black.

#ad2383
#8b1c69
#68154f
#450e34
#23071a

Tints

Color #d02a9d mixed toward white.

#db4bae
#e26fbf
#e993cf
#f0b7df
#f8dbef

Tones

Color #d02a9d mixed toward gray.

#c23898
#b44692
#a6538d
#996188
#8b6f82

Accessibility

Aa White text on this color
4.67:1
Aa Black text on this color
4.5:1

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

Under color vision deficiencies

Protanopia

#a3a28c · ΔE 45.6

Deuteranopia

#aab387 · ΔE 58.4

Tritanopia

#cb7c78 · ΔE 25

Achromatopsia

#747474 · ΔE 28.1

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#d02a9d (#d02a9d) is rgb(208, 42, 157) in RGB.

No, #d02a9d 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 #d02a9d, 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.