What is hex #AAA8A8 color?

 
The hex code #AAA8A8 is closest to the named color Dark Medium Gray (#A9A9A9).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 67% red, 66% green and 66% blue, resulting in rgb(170, 168, 168) and hsl(0, 1%, 66%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 1%, 33%).
In the HSV/HSB scale, #AAA8A8 features a hue of 0°, 1% saturation, and 67% brightness.

Hex #AAA8A8 Color Codes & Conversions

Closest Named Color
Dark Medium Gray (#A9A9A9)
Hex Code #AAA8A8
Hex8 (RGBA Hex) #AAA8A8FF
RGB (CSS) rgb(170, 168, 168)
RGBA (CSS) rgba(170, 168, 168, 1)
HSL (CSS) hsl(0, 1%, 66%)
HSLA (CSS) hsla(0, 1%, 66%, 1)
HSV / HSB (0°, 1%, 67%)
CMYK Values (0%, 1%, 1%, 33%)
OKLCH (Modern CSS) oklch(73.3% 0.002 17.2)
CIE-LAB (D65) 69.02, 0.71, 0.25
CIE XYZ 37.65, 39.38, 42.66
Decimal / Binary 11184296
10101010 10101000 10101000

Closest Standards & Equivalents

Closest Web Safe
#999999
Inverse Color
#555757
Complementary Color
#A8AAAA
Closest Pantone®
Pantone Cool Gray 6 C
Closest RAL
RAL 7038 [Agate grey]

#AAA8A8 Grayscale Equivalents

Average
#A9A9A9 [Dark Medium Gray]
Lightness (Desaturation)
#A9A9A9 [Dark Medium Gray]
Weighted (BT601)
#A9A9A9 [Dark Medium Gray]
Luma (BT709)
#A8A8A8

WCAG 2.1 Color Contrast & Accessibility

Check how #AAA8A8 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #AAA8A8

Sample preview of readable typography on top of #AAA8A8.

Contrast Ratio: 2.37:1
AA Fail AAA Fail

Black Text on #AAA8A8

Sample preview of readable typography on top of #AAA8A8.

Contrast Ratio: 8.88:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #AAA8A8

Preview #AAA8A8 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #AAA8A8;
Typography Color Preview
color: #AAA8A8;
Border & Shadow Preview
border: 2px solid #AAA8A8;
CSS Custom Properties & Gradient
:root {
  --color-primary: #AAA8A8;
  --color-primary-rgb: 170, 168, 168;
  --color-complementary: #A8AAAA;
}
.btn-accent {
  background-color: #AAA8A8;
  color: #000000;
}

Hex #AAA8A8 Color Palettes

Complementary Palette

The complementary color of #AAA8A8 is #A8AAAA. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #AAA8A8 pairs with #AAA8A9 and #AAA9A8, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #AAA8A8 pairs with #A8A9AA and #A8AAA9, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #AAA8A8 uses #A8A8AA and #A8AAA8, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #AAA8A8 combines #A8AAA8, #A8AAAA and #AAA8AA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #AAA8A8 pairs with #A9AAA8, #A8AAAA and #A9A8AA spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #AAA8A8

Tints

Tints are created by mixing #AAA8A8 with white, producing lighter variations.

Tones

Tones are created by mixing #AAA8A8 with gray, softening saturation.

Shades

Shades result from mixing #AAA8A8 with black, creating deeper variations.

Hex #AAA8A8 in Programming & CSS Frameworks

Copy the exact syntax for #AAA8A8 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #AAA8A8
Tailwind CSS bg-[#AAA8A8] text-[#AAA8A8]
Java (AWT) new Color(170,168,168);
Python Color("#AAA8A8")
.NET (C#) Color.FromArgb(255, 170,168,168);
Swift / iOS UIColor(red: 0.67, green: 0.66, blue: 0.66, alpha: 1)
Kotlin / Android Color.rgb(170, 168, 168)