#A7A8A7 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #a7a8a7 graphic
#a7a8a7 is a mid-tone grey with almost no color in it, just a faint ashy cast. That neutrality makes it a dependable supporting surface for interfaces, typography, and minimal layouts. Black text on #a7a8a7 reaches about 8.8:1 contrast, so it passes WCAG AA behind body text with room to spare. Next to pure white it can read a little washed out, so lean on deeper neighbors like charcoal when you need definition.

Questions about #a7a8a7

What is #a7a8a7 in RGB, HSL and CMYK?
In RGB, #a7a8a7 is rgb(167, 168, 167), in HSL hsl(120, 1%, 66%) and in CMYK 1%, 0%, 1%, 34%. Browse more shades of gray with names and hex codes.
What text color works best on #a7a8a7?
Black text reads most clearly on #a7a8a7, reaching about 8.8:1 contrast. That easily clears the WCAG AA minimum of 4.5:1 for body text. White text falls well short, so keep light type off this background.
What colors pair well with #a7a8a7?
This grey flatters deeper neutrals like charcoal and navy, which restore the definition it loses next to white. Warm accents such as terracotta also stand out against its flat, colorless base.
Is #a7a8a7 readable on white or black?
#a7a8a7 has a 2.38:1 contrast ratio on white and 8.80:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.