#31271A Hex Color

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

Hex color #31271a graphic
The hex code #31271a is a dark, muted brown with gray and earthy undertones. Its low lightness creates a serious, mysterious mood with warmth beneath the gloom. Use it for moody backgrounds, coffee or craft branding, and vintage layouts. White text remains highly legible at about 14.6:1 contrast, while pale tan adds softer separation.

Questions about #31271a

What is #31271a in RGB, HSL and CMYK?
In RGB, #31271a is rgb(49, 39, 26), in HSL hsl(34, 31%, 15%) and in CMYK 0%, 20%, 47%, 81%. Browse more shades of black with names and hex codes.
What colors pair well with #31271a?
The hex color #31271a pairs well with pale tan, cream, warm gray, and muted terracotta, which add separation without overpowering its deep brown base in interfaces, packaging, or editorial layouts. Use lighter neutrals for clean contrast and warmer accents for a grounded, vintage feel.
What mood does #31271a create?
The hex color #31271a reads as warm, serious, and slightly mysterious because its low lightness is softened by gray and earthy undertones. It works especially well for moody backgrounds, coffee branding, craft packaging, and vintage layouts.
Is #31271a readable on white or black?
#31271a has a 14.62: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.