#5A5454 Hex Color

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

Hex color #5a5454 graphic
Not quite black and not a flat neutral, #5a5454 is a dark grey with a faint warm undertone. Its low saturation and dim lightness suit dark mode backgrounds and moody layouts, where white text reaches a strong 7.4:1 contrast. Treat it as a dominant base rather than an accent, since it can turn muddy against pure white. The hex code #5a5454 reads restrained and serious.

Questions about #5a5454

What is #5a5454 in RGB, HSL and CMYK?
In RGB, #5a5454 is rgb(90, 84, 84), in HSL hsl(0, 3%, 34%) and in CMYK 0%, 7%, 7%, 65%.
Does #5a5454 read warm or cool?
It reads slightly warm, because the red channel sits just above the blue and green ones, giving this dark grey a faint taupe cast rather than the stony feel of a cool neutral. Pair it with muted terracotta or olive to lean into that warmth.
What text color works on #5a5454?
White text is the right choice on #5a5454, where it reaches about 7.4:1 contrast and clears the WCAG AA 4.5:1 minimum for small body text. Black text falls short of that threshold, so keep dark type off this shade.
Is #5a5454 readable on white or black?
#5a5454 has a 7.41:1 contrast ratio on white and 2.83: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.