#312A27 Hex Color

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

Hex color #312a27 graphic
#312a27 is a dark, desaturated brown that leans toward ash and charcoal. It feels grounded and serious, acting as a softer alternative to stark black in UI designs or branding. Because it is highly legible with white text, the hex code #312a27 works well as a background for minimal, moody interfaces. Try pairing it with muted creams or dull gold accents to emphasize its inherent warmth.

Questions about #312a27

What is #312a27 in RGB, HSL and CMYK?
In RGB, #312a27 is rgb(49, 42, 39), in HSL hsl(18, 11%, 17%) and in CMYK 0%, 14%, 20%, 81%. Browse more shades of black with names and hex codes.
How can I best use #312a27 in UI design?
#312a27 functions perfectly as a softer, less harsh alternative to pure black for text and background elements. Because it feels grounded and earthy, it creates a high-contrast, professional look when paired with off-white or light cream text.
What colors pair well with #312a27?
This color anchors palettes dominated by warm, muted tones and natural materials. It balances beautifully alongside gold accents or soft beige backgrounds, adding depth to designs without the visual intensity that a true black or dark navy would create.
Is #312a27 readable on white or black?
#312a27 has a 14.08:1 contrast ratio on white and 1.49: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.