Skip to content
Kolorvia
#a21b98

Color #a21b98

A vivid, highly saturated dark magenta.

Conversions

HEX
#a21b98
RGB
rgb(162, 27, 152)
HSL
hsl(304.4, 71.4%, 37.1%)
HSV / HSB
hsv(304.4, 83.3%, 63.5%)
CMYK
cmyk(0%, 83.3%, 6.2%, 36.5%)
LAB
lab(39.13, 64.45, -36.05)
LCH
lch(39.13, 73.85, 330.78)
OKLCH
oklch(50.3%, 0.2097, 331.71)
HWB
hwb(304.4, 10.6%, 36.5%)

Harmony colors

Complementary

#1ba225

Analogous

#691ba2
#a21b98
#a21b55

Triadic

#a21b98
#98a21b
#1b98a2

Split-complementary

#a21b98
#55a21b
#1ba269

Tetradic

#a21b98
#a2251b
#1ba225
#1b98a2

Square

#a21b98
#a2691b
#1ba225
#1b55a2

Shades

Color #a21b98 mixed toward black.

#87177f
#6c1265
#510e4c
#360933
#1b0519

Tints

Color #a21b98 mixed toward white.

#d023c3
#e048d5
#e876e0
#f0a3ea
#f7d1f5

Tones

Color #a21b98 mixed toward gray.

#97268f
#8c3285
#803d7b
#754872
#6a5368

Accessibility

Aa White text on this color
6.67:1
Aa Black text on this color
3.15:1

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

Under color vision deficiencies

Protanopia

#7e7d87 · ΔE 28.3

Deuteranopia

#848b82 · ΔE 42.6

Tritanopia

#9e7673 · ΔE 29.1

Achromatopsia

#5c5c5c · ΔE 27.9

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

Code

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

Related colors

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

Frequently asked questions

#a21b98 (#a21b98) is rgb(162, 27, 152) in RGB.

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