#AFAFAA color

#AFAFAA rgb(175, 175, 170)
Shades of gray

The hex color #AFAFAA is a gray.

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

Its hue angle is 60°, with 3% saturation and 68% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 3% yellow and 31% black.

The closest named color is Steam Engine (#B2B2AD), a difference of 0.8 ΔE, which is barely visible.

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

#AFAFAA color codes

HEX#AFAFAA
RGBrgb(175, 175, 170)
RGB percentrgb(68.6%, 68.6%, 66.7%)
HSLhsl(60, 3%, 68%)
HSV / HSBhsv(60, 3%, 69%)
CMYKcmyk(0%, 0%, 3%, 31%)
CIE LABlab(71.33, -0.93, 2.56)
CIE LCHlch(71.33, 2.72, 109.91)
CIE XYZxyz(40.264, 42.676, 44.139)
Decimal11513770
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Gray.

Questions

What color is #AFAFAA?
#AFAFAA is a gray, closest to the named color Steam Engine. It belongs to the gray family of colors.
What is the RGB value of #AFAFAA?
The RGB value is 175, 175, 170: 175 red, 175 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #AFAFAA?
The complementary color is #AAAAAF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFAFAA?
Black text. Black text has a contrast ratio of 9.54:1 and white text 2.2:1. WCAG asks for at least 4.5:1 for normal text.