#A6A6A8 color

#A6A6A8 rgb(166, 166, 168)
Shades of gray

The hex color #A6A6A8 is a gray.

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

Its hue angle is 240°, with 1% saturation and 65% lightness. For print, the CMYK equivalent is 1% cyan, 1% magenta, 0% yellow and 34% black.

The closest named color is Ultimate Gray (#A9A8A9), a difference of 0.9 ΔE, which is barely visible.

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

#A6A6A8 color codes

HEX#A6A6A8
RGBrgb(166, 166, 168)
RGB percentrgb(65.1%, 65.1%, 65.9%)
HSLhsl(240, 1%, 65%)
HSV / HSBhsv(240, 1%, 66%)
CMYKcmyk(1%, 1%, 0%, 34%)
CIE LABlab(68.17, 0.38, -1.03)
CIE LCHlch(68.17, 1.1, 290.29)
CIE XYZxyz(36.429, 38.207, 42.494)
Decimal10921640
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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