#31271D Hex Color

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

Hex color #31271d graphic
This dark, ashy brown feels heavy and serious, bordering on black. Because #31271d is so muted and low in saturation, it functions best as a grounding background element rather than a focal point. Pair this hex code with warm cream or soft copper to prevent it from feeling muddy. It provides excellent accessibility for white text in UI design.

Questions about #31271d

What is #31271d in RGB, HSL and CMYK?
In RGB, #31271d is rgb(49, 39, 29), in HSL hsl(30, 26%, 15%) and in CMYK 0%, 20%, 41%, 81%. Browse more shades of black with names and hex codes.
How can I effectively use #31271d in UI design?
#31271d acts as an excellent grounding background because it is low in saturation and offers high accessibility for white text. Use it instead of absolute black to create a softer, more sophisticated look that feels less jarring on screen.
What colors pair well with #31271d?
Pair #31271d with cream or soft copper to lift its heavy, ashy undertones and prevent the design from feeling muddy. These warm accents create a necessary contrast that keeps the overall palette feeling intentional and balanced.
Is #31271d readable on white or black?
#31271d has a 14.59:1 contrast ratio on white and 1.43: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.