#AFA7AA color

#AFA7AA rgb(175, 167, 170)
Shades of gray

The hex color #AFA7AA is a gray.

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

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

The closest named color is Rose Ashes (#B5ACAB), a difference of 2.5 ΔE, a small difference.

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

#AFA7AA color codes

HEX#AFA7AA
RGBrgb(175, 167, 170)
RGB percentrgb(68.6%, 65.5%, 66.7%)
HSLhsl(338, 5%, 67%)
HSV / HSBhsv(338, 5%, 69%)
CMYKcmyk(0%, 5%, 3%, 31%)
CIE LABlab(69.22, 3.42, -0.52)
CIE LCHlch(69.22, 3.46, 351.38)
CIE XYZxyz(38.753, 39.654, 43.635)
Decimal11511722
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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