#A6A6AB color

#A6A6AB rgb(166, 166, 171)
Shades of gray

The hex color #A6A6AB is a gray.

In the RGB color model it is made of 65.1% red, 65.1% green and 67.1% blue (166, 166, 171).

Its hue angle is 240°, with 3% saturation and 66% lightness. For print, the CMYK equivalent is 3% cyan, 3% magenta, 0% yellow and 33% black.

The closest named color is Ultimate Gray (#A9A8A9), a difference of 2.2 ΔE, a small difference.

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

#A6A6AB color codes

HEX#A6A6AB
RGBrgb(166, 166, 171)
RGB percentrgb(65.1%, 65.1%, 67.1%)
HSLhsl(240, 3%, 66%)
HSV / HSBhsv(240, 3%, 67%)
CMYKcmyk(3%, 3%, 0%, 33%)
CIE LABlab(68.26, 0.96, -2.58)
CIE LCHlch(68.26, 2.75, 290.46)
CIE XYZxyz(36.711, 38.32, 43.983)
Decimal10921643
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A6A6AB, 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 #A6A6ABRatioAAAAAAA large
Sample text8.66:1PassPassPass
Sample text2.42:1FailFailFail
#A6A6AB as text onRatioAAAAAAA large
Sample text2.42:1FailFailFail
Sample text8.66: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 #A6A6AB looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #A6A6AB?
#A6A6AB is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
What is the RGB value of #A6A6AB?
The RGB value is 166, 166, 171: 166 red, 166 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #A6A6AB?
The complementary color is #ABABA6, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A6A6AB?
Black text. Black text has a contrast ratio of 8.66:1 and white text 2.42:1. WCAG asks for at least 4.5:1 for normal text.