#515152 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark and muted, #515152 is a nearly colorless gray with a slightly ashy cast. Its low saturation gives interfaces, typography, and product designs a serious, restrained feel without pure black’s starkness. Use the hex code #515152 as a dominant dark base with white text, which reaches about 7.9:1 contrast for clear body copy.
Questions about #515152
What is #515152 in RGB, HSL and CMYK?
In RGB, #515152 is rgb(81, 81, 82), in HSL hsl(240, 1%, 32%) and in CMYK 1%, 1%, 0%, 68%. Browse more shades of gray with names and hex codes.
Does #515152 work well with white text?
White text reaches about a 7.9:1 contrast ratio against #515152, making it a strong choice for readable body copy and interface text, though final accessibility checks should still account for font size and weight.
What colors pair well with #515152?
Is #515152 readable on white or black?
#515152 has a 7.92:1 contrast ratio on white and 2.64:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.