#7E7E8C Hex Color

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

Hex color #7e7e8c graphic
Dusty slate with a faint violet cast, like storm clouds at dusk. The hex code #7e7e8c sits so close to grey that it reads calm and understated rather than showy, which makes it a solid supporting tone for backgrounds and UI panels. Black text holds a 5.3:1 contrast on it, enough for small body copy. Pair it with warm cream or deep plum, or it can turn flat.

Questions about #7e7e8c

What is #7e7e8c in RGB, HSL and CMYK?
In RGB, #7e7e8c is rgb(126, 126, 140), in HSL hsl(240, 6%, 52%) and in CMYK 10%, 10%, 0%, 45%. Browse more shades of gray with names and hex codes.
Does black text meet WCAG AA on #7e7e8c?
Yes. Black text on #7e7e8c reaches about 5.3:1 contrast, above the 4.5:1 minimum for WCAG AA, so small body copy stays readable. White text falls short, so keep light type off this shade.
What colors pair well with #7e7e8c?
Warm cream and deep plum both flatter #7e7e8c and keep its grey undertone from reading flat. Pale greys nearby tend to wash it out, so build contrast with darker or warmer partners instead.
Is #7e7e8c readable on white or black?
#7e7e8c has a 3.99:1 contrast ratio on white and 5.25:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.