#5F5258 Hex Color

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

Hex color #5f5258 graphic
Defined by its muted, ashy quality, the hex code #5f5258 pairs grey undertones with a quiet, shadowy pink. It serves as a sophisticated dark-mode background, maintaining clear readability for white text. Because this shade is quite dim, avoid using it for large, flat areas in bright interfaces. Instead, use it alongside soft cream or muted metallics to anchor a moody, romantic palette.

Questions about #5f5258

What is #5f5258 in RGB, HSL and CMYK?
In RGB, #5f5258 is rgb(95, 82, 88), in HSL hsl(332, 7%, 35%) and in CMYK 0%, 14%, 7%, 63%.
How can I best use #5f5258 in a design palette?
#5f5258 functions best as a sophisticated, moody background color that creates a soft, romantic atmosphere. It pairs beautifully with cream or muted metallics, providing a grounded alternative to pure charcoal or standard black backgrounds in modern interfaces.
Is #5f5258 readable on white or black?
#5f5258 has a 7.40: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.