#272828 Hex Color

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

Hex color #272828 graphic
This deep, neutral charcoal offers a softer alternative to pure black. Because it sits at the edge of darkness, it maintains strong readability with white text, scoring a 14.8:1 contrast ratio. Designers rely on #272828 as a dominant UI background to ground high-contrast layouts. Use this hex code carefully; it anchors a composition well, but it can quickly feel heavy without brighter, contrasting accents.

Questions about #272828

What is #272828 in RGB, HSL and CMYK?
In RGB, #272828 is rgb(39, 40, 40), in HSL hsl(180, 1%, 15%) and in CMYK 2%, 0%, 0%, 84%. Browse more shades of black with names and hex codes.
How does #272828 perform in UI design compared to pure black?
Using #272828 creates a softer, more approachable feel for backgrounds than pure black while maintaining strong contrast with white text. It anchors complex compositions effectively, reducing eye strain in high-contrast layouts without sacrificing visual clarity or depth.
What color accents work best with #272828?
Because #272828 is a neutral, deep charcoal, it pairs exceptionally well with vibrant, warm accents to break up its heaviness. Try introducing mustard or terracotta for energy, or use soft sage to create a balanced, organic aesthetic.
Is #272828 readable on white or black?
#272828 has a 14.78:1 contrast ratio on white and 1.42: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.