Skip to content
Kolorvia
#ab2d97

Color #ab2d97

A moderately saturated medium magenta.

Conversions

HEX
#ab2d97
RGB
rgb(171, 45, 151)
HSL
hsl(309.5, 58.3%, 42.4%)
HSV / HSB
hsv(309.5, 73.7%, 67.1%)
CMYK
cmyk(0%, 73.7%, 11.7%, 32.9%)
LAB
lab(42.42, 61.22, -30.16)
LCH
lch(42.42, 68.25, 333.77)
OKLCH
oklch(53%, 0.1969, 335.26)
HWB
hwb(309.5, 17.6%, 32.9%)

Harmony colors

Complementary

#2dab41

Analogous

#802dab
#ab2d97
#ab2d58

Triadic

#ab2d97
#97ab2d
#2d97ab

Split-complementary

#ab2d97
#58ab2d
#2dab80

Tetradic

#ab2d97
#ab412d
#2dab41
#2d97ab

Square

#ab2d97
#ab802d
#2dab41
#2d58ab

Shades

Color #ab2d97 mixed toward black.

#8f267e
#721e65
#56174c
#390f32
#1d0819

Tints

Color #ab2d97 mixed toward white.

#cc3db5
#d664c4
#e08bd3
#ebb1e2
#f5d8f0

Tones

Color #ab2d97 mixed toward gray.

#a13890
#964289
#8c4d82
#81577a
#776273

Accessibility

Aa White text on this color
5.91:1
Aa Black text on this color
3.55:1

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

Under color vision deficiencies

Protanopia

#878687 · ΔE 29.9

Deuteranopia

#8d9382 · ΔE 45.5

Tritanopia

#a77874 · ΔE 27.3

Achromatopsia

#646464 · ΔE 27.1

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#ab2d97 (#ab2d97) is rgb(171, 45, 151) in RGB.

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