#28231D Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark brown sits a step away from black, muted and ashy with only a trace of warmth left in it. #28231d works best as a dominant base in dark mode layouts and moody branding, where plain black reads too harsh. White text on it clears WCAG AA at about 15.6:1 contrast. It looks richer against rust orange and aged brass than against stark white. The hex code for dark brown is #28231d.
Questions about #28231d
What is #28231d in RGB, HSL and CMYK?
In RGB, #28231d is rgb(40, 35, 29), in HSL hsl(33, 16%, 14%) and in CMYK 0%, 13%, 27%, 84%.
What text color works best on #28231d?
White text is the safest choice, with a contrast ratio of about 15.6:1 against #28231d. That clears WCAG AA for small body text, so the color holds up as a background for paragraphs, not just large headings.
What colors pair well with #28231d?
Rust orange and aged brass bring out the faint warmth in #28231d, while cream softens its gray edge. Skip pure white, which makes the brown look flat and muddy next to it.
Is #28231d readable on white or black?
#28231d has a 15.57:1 contrast ratio on white and 1.34: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.