HEX Color Conversion

Hex Color Code #AA2AA9 — RGB & HSL Conversions

How to use the #AA2AA9 color code in HTML & CSS?

For developers, implementing the #AA2AA9 color code involves declaring it in your styles. In stylesheet designs, use color: #AA2AA9; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#AA2AA9] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #AA2AA9?

The RGB code for #AA2AA9 is computed as rgb(170, 42, 169). Web designers using HSL values will find it at a hue of 300°, saturation of 60%, and lightness index of 42%, representing a balanced, moderate saturation.

CMYK print code settings for #AA2AA9

For print design setups, the CMYK values for the #AA2AA9 color code are Cyan: 0%, Magenta: 75%, Yellow: 1%, and Black: 33%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 170
Green Channel 42
Blue Channel 169
Luminance 0.131

HEX #AA2AA9 Color Space Conversions

Click to copy format
HEX Color Code #AA2AA9
RGB (Red Green Blue) rgb(170, 42, 169)
HSL (Hue Sat Light) hsl(300°, 60%, 42%)
CMYK (Commercial Print) cmyk(0%, 75%, 1%, 33%)
HSV / HSB Values hsv(300°, 75%, 67%)
Decimal Color Code 11152041
CSS Custom Variable --color-hex: #AA2AA9;
Tailwind CSS Utility bg-[#AA2AA9]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #AA2AA9

Small body copy preview

Black Text on Background

Black text readability test with #AA2AA9

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #AA2AA9 */
--color-hex: #AA2AA9;
--color-rgb: rgb(170, 42, 169);
--color-hsl: hsl(300deg, 60%, 42%);

Adjacent HEX Color Codes

Copied!