#AFA7AF color

#AFA7AF rgb(175, 167, 175)
Shades of gray

The hex color #AFA7AF is a gray.

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

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

The closest named color is Foggy Plum (#B7A5AD), a difference of 4 ΔE, a small difference.

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

#AFA7AF color codes

HEX#AFA7AF
RGBrgb(175, 167, 175)
RGB percentrgb(68.6%, 65.5%, 68.6%)
HSLhsl(300, 5%, 67%)
HSV / HSBhsv(300, 5%, 69%)
CMYKcmyk(0%, 5%, 0%, 31%)
CIE LABlab(69.36, 4.36, -3.09)
CIE LCHlch(69.36, 5.34, 324.69)
CIE XYZxyz(39.235, 39.847, 46.173)
Decimal11511727
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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