#AAA8A2

A color in the Black, Gray, White family

#aaa8a2 is a color in the Black, Gray, White family: RGB(170, 168, 162), HSL(45°, 4%, 65%), CMYK(0%, 1%, 5%, 33%). Closest named color: darkgray. Contrast is 2.38:1 on white and 8.83:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aaa8a2
RGBrgb(170 168 162)
RGB (legacy)rgb(170, 168, 162)
RGB %rgb(67% 66% 64%)
HSLhsl(45 4% 65%)
HSV / HSBhsv(45, 5%, 67%)
HWBhwb(45 64% 33%)
CMYKcmyk(0%, 1%, 5%, 33%)
CIELAB (D50)lab(68.9 -0.08 3.38)
LCHlch(68.9 3.38 91.4)
OKLaboklab(0.7315 -0.0002 0.0088)
OKLCHoklch(0.7315 0.0088 91.51)
Decimal11184290

Properties

Color ToneBlack, Gray, White
Closest named colordarkgray ΔE 0.9
Closest web-safe color#999999
Hue45°
Saturation (HSL / HSV)4% / 5%
Lightness (HSL)65%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)66% / 66%
Relative luminance (WCAG)0.3916
Red / Green / Blue170 / 168 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 46.9 / -55.2 · As background with white / black text: Lc -51.8 / 57.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #aaa8a2;
  --color-brand-oklch: oklch(73.15% 0.0088 91.51);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 168 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa8a2] text-[#aaa8a2] border-[#aaa8a2]">