#AFA4BA color

#AFA4BA rgb(175, 164, 186)
Shades of gray

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

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

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

The closest named color is Pastel Purple (#B39EB5), a difference of 3.7 ΔE, a small difference.

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

#AFA4BA color codes

HEX#AFA4BA
RGBrgb(175, 164, 186)
RGB percentrgb(68.6%, 64.3%, 72.9%)
HSLhsl(270, 14%, 69%)
HSV / HSBhsv(270, 12%, 73%)
CMYKcmyk(6%, 12%, 0%, 27%)
CIE LABlab(68.9, 8.16, -9.86)
CIE LCHlch(68.9, 12.8, 309.6)
CIE XYZxyz(39.816, 39.21, 51.916)
Decimal11510970
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #AFA4BA?
#AFA4BA is a light, grayish violet, closest to the named color Pastel Purple. It belongs to the gray family of colors.
What is the RGB value of #AFA4BA?
The RGB value is 175, 164, 186: 175 red, 164 green and 186 blue on a 0 to 255 scale.
What is the complementary color of #AFA4BA?
The complementary color is #AFBAA4, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA4BA?
Black text. Black text has a contrast ratio of 8.84:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.