#4F5151 Hex Color

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

Hex color #4f5151 graphic
#4f5151 is a dark, stony charcoal with low saturation and a matte finish. It provides a stable, neutral base for minimal UI designs or typography. Because of its 8.0:1 contrast ratio, it serves as an excellent, readable backdrop for white text. Use this hex code when you need a muted, professional alternative to stark black in your dark mode layouts.

Questions about #4f5151

What is #4f5151 in RGB, HSL and CMYK?
In RGB, #4f5151 is rgb(79, 81, 81), in HSL hsl(180, 1%, 31%) and in CMYK 2%, 0%, 0%, 68%. Browse more shades of gray with names and hex codes.
When should I choose #4f5151 over standard black?
Use #4f5151 whenever you need to reduce eye strain in digital interfaces while maintaining high contrast. This stony charcoal provides a softer, less aggressive presence than pure black, making it ideal for backgrounds, typography, and professional dark mode UI elements.
What colors pair well with #4f5151?
This neutral works best when paired with crisp whites or very light grays to leverage its strong contrast ratio. For a subtle accent, try incorporating soft sage or muted blue tones to complement its stony, matte character without clashing with the dark base.
Is #4f5151 readable on white or black?
#4f5151 has a 7.99:1 contrast ratio on white and 2.62: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.