#2C271F Hex Color

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

Hex color #2c271f graphic
#2c271f is a nearly black, highly muted brown with faint yellow undertones. This shadowy tone works best as a moody base for coffee or artisanal branding. Because it offers strong contrast against white text, it functions well for readable dark mode UI. Avoid using it for fine detail where it may appear muddy. The hex code for this serious color is #2c271f.

Questions about #2c271f

What is #2c271f in RGB, HSL and CMYK?
In RGB, #2c271f is rgb(44, 39, 31), in HSL hsl(37, 17%, 15%) and in CMYK 0%, 11%, 30%, 83%. Browse more shades of black with names and hex codes.
Does #2c271f work well for user interface text?
#2c271f is excellent for dark mode interfaces when paired with off-white or cream text, as it offers a softer, more organic contrast than pure black. Avoid using it for fine-line details or small typography where the muted brown undertones may appear muddy.
What colors pair best with #2c271f?
This color pairs beautifully with soft, warm neutrals like cream or sand, which highlight its subtle yellow undertones. For a more sophisticated palette, use it alongside deep forest green or muted terracotta to create an earthy, grounded aesthetic.
Is #2c271f readable on white or black?
#2c271f has a 14.81:1 contrast ratio on white and 1.41: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.