#AFB4AF color

#AFB4AF rgb(175, 180, 175)
Shades of gray

The hex color #AFB4AF is a gray.

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

Its hue angle is 120°, with 3% saturation and 70% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 3% yellow and 29% black.

The closest named color is Magnetic (#B2B5AF), a difference of 1.1 ΔE, which is barely visible.

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

#AFB4AF color codes

HEX#AFB4AF
RGBrgb(175, 180, 175)
RGB percentrgb(68.6%, 70.6%, 68.6%)
HSLhsl(120, 3%, 70%)
HSV / HSBhsv(120, 3%, 71%)
CMYKcmyk(3%, 0%, 3%, 29%)
CIE LABlab(72.79, -2.69, 1.93)
CIE LCHlch(72.79, 3.31, 144.29)
CIE XYZxyz(41.737, 44.851, 47.008)
Decimal11515055
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Ash Gray.

Questions

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