#A8AFAF color

#A8AFAF rgb(168, 175, 175)
Shades of gray

The hex color #A8AFAF is a gray.

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

Its hue angle is 180°, with 4% saturation and 67% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 0% yellow and 31% black.

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

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

#A8AFAF color codes

HEX#A8AFAF
RGBrgb(168, 175, 175)
RGB percentrgb(65.9%, 68.6%, 68.6%)
HSLhsl(180, 4%, 67%)
HSV / HSBhsv(180, 4%, 69%)
CMYKcmyk(4%, 0%, 0%, 31%)
CIE LABlab(70.93, -2.45, -0.85)
CIE LCHlch(70.93, 2.6, 199.19)
CIE XYZxyz(39.215, 42.08, 46.605)
Decimal11055023
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Gray.

Questions

What color is #A8AFAF?
#A8AFAF 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 #A8AFAF?
The RGB value is 168, 175, 175: 168 red, 175 green and 175 blue on a 0 to 255 scale.
What is the complementary color of #A8AFAF?
The complementary color is #AFA8A8, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A8AFAF?
Black text. Black text has a contrast ratio of 9.42:1 and white text 2.23:1. WCAG asks for at least 4.5:1 for normal text.