Maroon Colors  ·  Color Library

Palettes / Colors / #AFABA2

#AFABA2 — Silver Grey

#AFABA2 is a gray color we call Silver Grey, closest to the named color DarkGray (#A9A9A9). It belongs to the gray family.

Color name

Closest CSS keyword: darkgray (#A9A9A9) — not an exact match. CSS darkgray gives you #A9A9A9, a different color; use #AFABA2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AFABA2 is a neutral gray color associated with neutrality and professionalism. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #A1A6AF; it also sits naturally between #AFA4A1 and #ACAFA1. In the palettes below you can see it working alongside real color combinations from our collection.

#AFABA2 · RGB 175, 171, 162

Download PNG swatch SVG

Color values

HEX#AFABA2
RGB175, 171, 162
HSL42°, 8%, 66%
HSV42°, 7%, 69%
CMYK0%, 2%, 7%, 31%
XYZ38.76, 40.85, 40.02
Yxy40.85, 0.3240, 0.3414
CIE-Lab70.07, -0.20, 5.13
Hunter Lab63.91, -0.17, 4.29

RGB & CMYK percentages

Red 69% · Green 67% · Blue 64%

Cyan 0% · Magenta 2% · Yellow 7% · Key 31%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AFABA2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AFABA2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AFABA2

.text { color: #AFABA2; }
.background { background-color: #AFABA2; }
.border { border: 3px solid #AFABA2; }
.text-rgb { color: rgb(175, 171, 162); }
.text-hsl { color: hsl(42, 8%, 66%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AFABA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 171, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AFABA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 171, 162, 0.8); }

HTML: <p style="color:#AFABA2">Text here</p> · <div style="background-color:#AFABA2">Div content here</div>

Shades of #AFABA2

#A19C91#938D80#817C6E#716C60#605C52#504C44#3F3D36#2C2A26#1C1A17#0B0B09

Tints of #AFABA2

#B6B2AA#BDBAB2#C4C1BA#CBC9C2#D2D0CB#D9D8D3#E1DFDB#E8E6E3#EFEEEC#F6F5F4

Tones of #AFABA2

#AEABA2#AEAAA3#ADAAA4#ABA9A6#AAA9A7#A9A9A7

Color harmonies

Complementary — #A1A6AF:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.29:1 Fails
Against black text9.17:1 AAA

Best text color on #AFABA2: #000000.

Semi-transparent (opacity) text on #AFABA2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AFABA2: ·

How #AFABA2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #ADADA4Deuteranopia · #AEAEA5Tritanopia · #AFA6A6

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Grey 500 · #9E9E9EBootstrap secondary · #6C757DTailwind zinc 500 · #71717A

Palettes with a similar color

These palettes use a close neighbour of #AFABA2 rather than the exact color:

Palette B6ae9f
#B6AE9F · #C5C7BC · #DEDED1 · #FBF3D1
Palette 151515
#151515 · #301B3F · #3C415C · #B4A5A5
Palette A9a9a9
#A9A9A9 · #FECDA6 · #FF9130 · #FF5B22
Palette F6f6f6
#F6F6F6 · #FFE2E2 · #FFC7C7 · #AAAAAA
Palette F4f9f9
#F4F9F9 · #CCF2F4 · #A4EBF3 · #AAAAAA
Palette 70d4b4
#70D4B4 · #FFEBB7 · #BBBBBB · #AAAAAA

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B6AE9F#B4A5A5#A9A9A9#AAAAAA#B2A59B#B7B09E#A6AA9C#A7B49E#B2B8A3#B3A398#B0A695#BDAC9F

Browse neighbouring colors

← #AFABA1  ·  #AFABA3 →

Frequently asked questions

What color is #AFABA2?

#AFABA2 is Silver Grey, a gray color (RGB 175, 171, 162). Its closest standard named color is DarkGray.

What is the RGB and HSL of #AFABA2?

#AFABA2 is RGB 175, 171, 162 — HSL 42°, 8%, 66% — CMYK 0%, 2%, 7%, 31%.

What colors go with #AFABA2?

Its complement is #A1A6AF; analogous partners are #AFA4A1 and #ACAFA1. It also appears in 6+ palettes in our collection.

Can I use #AFABA2 for text?

Black text on #AFABA2 has a contrast ratio of 9.17:1 (passes WCAG AA); white text gives 2.29:1.