#AA22BB color

#AA22BB is rgb(170, 34, 187) in RGB and hsl(293, 69%, 43%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 4.6). Use white text on it (contrast 5.74:1).

#AA22BBmagenta
HEX#AA22BB
Short HEX#A2B
RGBrgb(170, 34, 187)
RGB percentrgb(66.7%, 13.3%, 73.3%)
HSLhsl(293, 69%, 43%)
HSV / HSBhsv(293, 82%, 73%)
CMYKcmyk(9%, 82%, 0%, 27%)

Edit in the color converter → · Check contrast → · Shades →

About #AA22BB

#AA22BB is a medium, saturated magenta with a hue angle of 293°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 187 (73%) and green the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#AA22BB
Short HEX#A2B
RGBrgb(170, 34, 187)
RGB percentrgb(66.7%, 13.3%, 73.3%)
HSLhsl(293, 69%, 43%)
HSV / HSBhsv(293, 82%, 73%)
CMYKcmyk(9%, 82%, 0%, 27%)
CIELAB (D65)lab(43.2 70 -50.4)
Decimal11150011
Binary10101010 00100010 10111011

HEX AA 22 BB → 170, 34, 187 (each pair is a base-16 number: A×16 + A = 170)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #AA22BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA22BBRatioAA normalAA largeAAA normalAAA large
White text5.74:1PassPassFailPass
Black text3.66:1FailPassFailFail
White text on #AA22BB
Black text on #AA22BB
#AA22BB text on white
#AA22BB text on black

Relative luminance is 0.1328 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#005cbf

Deuteranopia
#3e6bb8

Tritanopia
#ac4371

Achromatopsia
#666666

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 28.8). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkorchid#9932cc4.6
darkviolet#9400d36.7
blueviolet#8a2be28.6
darkmagenta#8b008b9.7

Nearby colors

CSS

.element {
  color: #aa22bb;
  background-color: rgb(170, 34, 187);
  border: 1px solid hsl(293, 69%, 43%);
  box-shadow: 0 2px 8px rgb(170 34 187 / 50%);
}
:root { --brand: #aa22bb; }

Frequently asked questions

What color is #AA22BB?
A medium saturated magenta in the pink & magenta family. Closest CSS name: darkorchid.
What is #AA22BB in RGB?
rgb(170, 34, 187): red 170, green 34, blue 187.
What is the complementary color of #AA22BB?
#33BB22, found by rotating the hue 180°.