#AFA8B3 color

#AFA8B3 rgb(175, 168, 179)
Shades of gray

The hex color #AFA8B3 is a gray.

In the RGB color model it is made of 68.6% red, 65.9% green and 70.2% blue (175, 168, 179).

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

The closest named color is Nebulous December (#B3B2BF), a difference of 3.8 ΔE, a small difference.

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

#AFA8B3 color codes

HEX#AFA8B3
RGBrgb(175, 168, 179)
RGB percentrgb(68.6%, 65.9%, 70.2%)
HSLhsl(278, 7%, 68%)
HSV / HSBhsv(278, 6%, 70%)
CMYKcmyk(2%, 6%, 0%, 30%)
CIE LABlab(69.74, 4.57, -4.75)
CIE LCHlch(69.74, 6.59, 313.93)
CIE XYZxyz(39.817, 40.374, 48.334)
Decimal11511987
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Gray.

Questions

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