#AFA8BC color

#AFA8BC rgb(175, 168, 188)
Shades of gray

The hex color #AFA8BC is a light, grayish violet.

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

Its hue angle is 261°, with 13% saturation and 70% lightness. For print, the CMYK equivalent is 7% cyan, 11% magenta, 0% yellow and 26% black.

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

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

#AFA8BC color codes

HEX#AFA8BC
RGBrgb(175, 168, 188)
RGB percentrgb(68.6%, 65.9%, 73.7%)
HSLhsl(261, 13%, 70%)
HSV / HSBhsv(261, 11%, 74%)
CMYKcmyk(7%, 11%, 0%, 26%)
CIE LABlab(70, 6.35, -9.33)
CIE LCHlch(70, 11.29, 304.24)
CIE XYZxyz(40.757, 40.75, 53.286)
Decimal11511996
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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