#AFA7BA color

#AFA7BA rgb(175, 167, 186)
Shades of gray

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

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

Its hue angle is 265°, with 12% saturation and 69% lightness. For print, the CMYK equivalent is 6% cyan, 10% magenta, 0% yellow and 27% black.

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

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

#AFA7BA color codes

HEX#AFA7BA
RGBrgb(175, 167, 186)
RGB percentrgb(68.6%, 65.5%, 72.9%)
HSLhsl(265, 12%, 69%)
HSV / HSBhsv(265, 10%, 73%)
CMYKcmyk(6%, 10%, 0%, 27%)
CIE LABlab(69.68, 6.5, -8.7)
CIE LCHlch(69.68, 10.86, 306.76)
CIE XYZxyz(40.359, 40.297, 52.097)
Decimal11511738
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #AFA7BA?
#AFA7BA 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 #AFA7BA?
The RGB value is 175, 167, 186: 175 red, 167 green and 186 blue on a 0 to 255 scale.
What is the complementary color of #AFA7BA?
The complementary color is #B2BAA7, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA7BA?
Black text. Black text has a contrast ratio of 9.06:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.