#5F5A57 Hex Color

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

Hex color #5f5a57 graphic
This dark, dusty grey provides a stable foundation for minimal UI designs. Because it maintains strong contrast with white text, it serves well as a background for readable interface elements. Use this shade instead of standard black to soften your overall palette. The hex code for this color is #5f5a57. Pair it with muted creams to create a calm, professional look that avoids a flat appearance.

Questions about #5f5a57

What is #5f5a57 in RGB, HSL and CMYK?
In RGB, #5f5a57 is rgb(95, 90, 87), in HSL hsl(23, 4%, 36%) and in CMYK 0%, 5%, 8%, 63%. Browse more shades of gray with names and hex codes.
How does #5f5a57 compare to pure black in UI design?
#5f5a57 acts as a softer, more approachable alternative to high-contrast black, reducing eye strain while maintaining legibility against light backgrounds. It creates a sophisticated, understated hierarchy that feels less aggressive than standard dark text.
Which color palettes work best with #5f5a57?
#5f5a57 pairs beautifully with muted creams and soft off-whites to create a clean, professional aesthetic. For a richer, earthy contrast, try combining it with olive or terracotta tones to add warmth without overwhelming the neutral base.
Is #5f5a57 readable on white or black?
#5f5a57 has a 6.80:1 contrast ratio on white and 3.08: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.