#A2A1AB color

#A2A1AB rgb(162, 161, 171)
Shades of gray

The hex color #A2A1AB is a gray.

In the RGB color model it is made of 63.5% red, 63.1% green and 67.1% blue (162, 161, 171).

Its hue angle is 246°, with 6% saturation and 65% lightness. For print, the CMYK equivalent is 5% cyan, 6% magenta, 0% yellow and 33% black.

The closest named color is Dusky Mood (#979BA8), a difference of 3.3 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 8.22:1).

#A2A1AB color codes

HEX#A2A1AB
RGBrgb(162, 161, 171)
RGB percentrgb(63.5%, 63.1%, 67.1%)
HSLhsl(246, 6%, 65%)
HSV / HSBhsv(246, 6%, 67%)
CMYKcmyk(5%, 6%, 0%, 33%)
CIE LABlab(66.6, 2.31, -5.04)
CIE LCHlch(66.6, 5.55, 294.58)
CIE XYZxyz(34.994, 36.111, 43.647)
Decimal10658219
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A2A1AB, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #A2A1ABRatioAAAAAAA large
Sample text8.22:1PassPassPass
Sample text2.55:1FailFailFail
#A2A1AB as text onRatioAAAAAAA large
Sample text2.55:1FailFailFail
Sample text8.22:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #A2A1AB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a2a1ab; }
.text { color: #a2a1ab; }
.border { border: 2px solid #a2a1ab; }
.transparent { background-color: rgb(162 161 171 / 50%); }
.gradient { background: linear-gradient(to right, #a2a1ab, #a7a1ab); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Gray.

Questions

What color is #A2A1AB?
#A2A1AB is a gray, closest to the named color Dusky Mood. It belongs to the gray family of colors.
What is the RGB value of #A2A1AB?
The RGB value is 162, 161, 171: 162 red, 161 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #A2A1AB?
The complementary color is #AAABA1, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A2A1AB?
Black text. Black text has a contrast ratio of 8.22:1 and white text 2.55:1. WCAG asks for at least 4.5:1 for normal text.