#AFA2B1 color

#AFA2B1 rgb(175, 162, 177)
Shades of gray

The hex color #AFA2B1 is a light, grayish magenta.

In the RGB color model it is made of 68.6% red, 63.5% green and 69.4% blue (175, 162, 177).

Its hue angle is 292°, with 9% saturation and 66% lightness. For print, the CMYK equivalent is 1% cyan, 8% magenta, 0% yellow and 31% black.

The closest named color is Foggy Plum (#B7A5AD), a difference of 3.6 ΔE, a small difference.

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

#AFA2B1 color codes

HEX#AFA2B1
RGBrgb(175, 162, 177)
RGB percentrgb(68.6%, 63.5%, 69.4%)
HSLhsl(292, 9%, 66%)
HSV / HSBhsv(292, 8%, 69%)
CMYKcmyk(1%, 8%, 0%, 31%)
CIE LABlab(68.12, 7.49, -6.03)
CIE LCHlch(68.12, 9.62, 321.16)
CIE XYZxyz(38.534, 38.129, 46.916)
Decimal11510449
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #AFA2B1?
#AFA2B1 is a light, grayish magenta, closest to the named color Foggy Plum. It belongs to the gray family of colors.
What is the RGB value of #AFA2B1?
The RGB value is 175, 162, 177: 175 red, 162 green and 177 blue on a 0 to 255 scale.
What is the complementary color of #AFA2B1?
The complementary color is #A4B1A2, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA2B1?
Black text. Black text has a contrast ratio of 8.63:1 and white text 2.43:1. WCAG asks for at least 4.5:1 for normal text.