#AFABAF color

#AFABAF rgb(175, 171, 175)
Shades of gray

The hex color #AFABAF is a gray.

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

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

The closest named color is Ultimate Gray (#A9A8A9), a difference of 2.7 ΔE, a small difference.

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

#AFABAF color codes

HEX#AFABAF
RGBrgb(175, 171, 175)
RGB percentrgb(68.6%, 67.1%, 68.6%)
HSLhsl(300, 2%, 68%)
HSV / HSBhsv(300, 2%, 69%)
CMYKcmyk(0%, 2%, 0%, 31%)
CIE LABlab(70.41, 2.17, -1.54)
CIE LCHlch(70.41, 2.66, 324.57)
CIE XYZxyz(39.979, 41.335, 46.421)
Decimal11512751
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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