#AAA1A2

A color in the Black, Gray, White family

#aaa1a2 is a color in the Black, Gray, White family: RGB(170, 161, 162), HSL(353°, 5%, 65%), CMYK(0%, 5%, 5%, 33%). Closest named color: darkgray. Contrast is 2.52:1 on white and 8.33:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aaa1a2
RGBrgb(170 161 162)
RGB (legacy)rgb(170, 161, 162)
RGB %rgb(67% 63% 64%)
HSLhsl(353 5% 65%)
HSV / HSBhsv(353, 5%, 67%)
HWBhwb(353 63% 33%)
CMYKcmyk(0%, 5%, 5%, 33%)
CIELAB (D50)lab(67.04 3.51 0.71)
LCHlch(67.04 3.58 11.42)
OKLaboklab(0.7169 0.0104 0.0018)
OKLCHoklch(0.7169 0.0106 9.64)
Decimal11182498

Properties

Color ToneBlack, Gray, White
Closest named colordarkgray ΔE 2.1
Closest web-safe color#999999
Hue353°
Saturation (HSL / HSV)5% / 5%
Lightness (HSL)65%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)64% / 64%
Relative luminance (WCAG)0.3664
Red / Green / Blue170 / 161 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.52:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.33: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 49.5 / -52.5 · As background with white / black text: Lc -54.6 / 54.5

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: #aaa1a2;
  --color-brand-oklch: oklch(71.69% 0.0106 9.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 161 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa1a2] text-[#aaa1a2] border-[#aaa1a2]">