#AA22A6 Color Information

Hex color code: #AA22A6

#AA22A6 is a subtle magenta color. In RGB it is (170, 34, 166), and in HSL it is (302°, 67%, 40%). It is popular in mobile app design.

Try:
Color NameViolet Red
HEX
#AA22A6
RGB
170, 34, 166
HSL
302°, 67%, 40%
CMYK
0%, 80%, 2%, 33%

Shades

CSS Usage
color: #AA22A6;
background-color: #AA22A6;
border-color: #AA22A6;
box-shadow: 0 0 10px #AA22A6;
border: 2px solid #AA22A6;
Tailwind Usage
bg-[#AA22A6]
text-[#AA22A6]
border-[#AA22A6]
shadow-[0_0_10px_AA22A6]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #AA22A6, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #AA22A6; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AA22A6; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #AA22A6; background-color: #AA22A615; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #AA22A620; border-left: 4px solid #AA22A6; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #AA22A6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AA22A6 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 34, 166

Red: 170 / Green: 34 / Blue: 166

HSL

302°, 67%, 40%

Hue: 302° / Saturation: 67% / Lightness: 40%

CMYK

0%, 80%, 2%, 33%

Cyan: 0% / Magenta: 80% / Yellow: 2% / Key: 33%

What color is #AA22A6?

#AA22A6 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA22A6 to RGB:

rgb(170, 34, 166)HEX to RGB Converter →

HEX to HSL

Convert #AA22A6 to HSL:

hsl(302, 67%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #AA22A6 to CMYK:

cmyk(0%, 80%, 2%, 33%)Color Converter →

Color Meaning and Usage

#AA22A6 is a subtle magenta color with RGB values of 170, 34, 166 and HSL of 302°, 67%, 40%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AA22A6 is #22AA26, creating high-contrast pairings. For softer combinations, try analogous colors like #6B22AA.

Use #AA22A6 in CSS: color: #AA22A6 or background-color: #AA22A6. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #AA22A6

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.49:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA22A6?

#AA22A6 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AA22A6?

#AA22A6 in RGB is (170, 34, 166) - 170 red, 34 green, and 166 blue.

How to use #AA22A6 in CSS?

Use #AA22A6 directly in your CSS properties like color or background-color.

What colors go well with #AA22A6?

#22AA26 (complementary), #6B22AA (analogous), and #6A1568 (lighter shade) work well with #AA22A6.