#A6ABAB color

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

The hex color #A6ABAB is a gray.

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

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

The closest named color is Crown of Ash (#A1A9A9), a difference of 1.6 ΔE, which is barely visible.

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

#A6ABAB color codes

HEX#A6ABAB
RGBrgb(166, 171, 171)
RGB percentrgb(65.1%, 67.1%, 67.1%)
HSLhsl(180, 3%, 66%)
HSV / HSBhsv(180, 3%, 67%)
CMYKcmyk(3%, 0%, 0%, 33%)
CIE LABlab(69.59, -1.76, -0.62)
CIE LCHlch(69.59, 1.87, 199.25)
CIE XYZxyz(37.638, 40.173, 44.291)
Decimal10922923
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A6ABAB, 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 #A6ABABRatioAAAAAAA large
Sample text9.03:1PassPassPass
Sample text2.32:1FailFailFail
#A6ABAB as text onRatioAAAAAAA large
Sample text2.32:1FailFailFail
Sample text9.03: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 #A6ABAB looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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