#050502 Hex Color

A sophisticated near-black with serious weight

Hex color #050502 graphic
As a near-black shade, #050502 carries a heavy, serious weight without being a flat, synthetic black. This hex code works best as a moody background color for premium branding or dark UI interfaces. Because white text creates a sharp 20.4:1 contrast against it, you can safely use it for small body text. Avoid pairing it with dark grays, as it can appear muddy and washed out.

Questions about #050502

What is #050502 in RGB, HSL and CMYK?
In RGB, #050502 is rgb(5, 5, 2), in HSL hsl(60, 43%, 1%) and in CMYK 0%, 0%, 60%, 98%.
Is #050502 better for web design than pure black?
Using #050502 is generally better than absolute black because it feels less synthetic and reduces eye strain in dark mode interfaces. It maintains a deep, professional aesthetic while providing the necessary visual softness that pure blacks often lack.
Does #050502 work well for body text?
Yes, #050502 functions exceptionally well as a dark text color against white or light backgrounds. It offers a 20.4:1 contrast ratio, ensuring excellent readability for small type without the harsh, vibrating edges often associated with absolute black text on screens.
Is #050502 readable on white or black?
#050502 has a 20.40:1 contrast ratio on white and 1.02: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.