Toolman

#A1A1AA color

#A1A1AA#A1A1AA

The swatch above shows #A1A1AA with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#A1A1AA is a light, desaturated grey, closest to the CSS named color darkgray (#A9A9A9).

It is also a Tailwind CSS default: zinc-400. That means you can write bg-zinc-400 or text-zinc-400 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#A1A1AA
RGBrgb(161, 161, 170)
HSLhsl(240, 5%, 65%)
CMYKcmyk(5%, 5%, 0%, 33%)
Decimal10592682
CSScolor: #A1A1AA;
Android0xFFA1A1AA
SwiftUIColor(red: 0.631, green: 0.631, blue: 0.667, alpha: 1)

Accessibility and contrast

White text on #A1A1AA2.56:1 — AA fail · AA large fail · AAA fail
Black text on #A1A1AA8.19:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #A1A1AA

Each swatch keeps the hue and saturation of #A1A1AA and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #A1A1AA

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #A1A1AA in code

/* CSS */
.element { color: #A1A1AA; background-color: #A1A1AA; }
.element { color: rgb(161 161 170); }
.element { color: hsl(240 5% 65%); }

/* Tailwind */
<div class="bg-zinc-400 text-black">

/* SCSS variable */
$brand: #A1A1AA;

Frequently asked questions

What color is #A1A1AA?

#A1A1AA is a light, desaturated grey. Its hue sits at 240° on the color wheel, with 5% saturation and 65% lightness.

What is #A1A1AA in RGB?

#A1A1AA converts to rgb(161, 161, 170) — 161 red, 161 green and 170 blue.

What is #A1A1AA in CMYK?

Approximately cmyk(5%, 5%, 0%, 33%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #A1A1AA be white or black?

Black gives the better contrast ratio (8.19:1 versus 2.56:1).

What is the complementary color of #A1A1AA?

#AAAAA1 — the hue directly opposite #A1A1AA on the color wheel.

Convert any color → · Browse all colors