Lighter and darker brown
Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.
Lighter
Darker
Colors that go with brown
Complementary
Across the color wheel. Strong contrast, good for one button or one word.
Analogous
Its neighbors on the wheel. Calm, easy to use together.
Triadic
Three colors evenly spread. Lively, best with one in charge.
Pairs well in a brand
Brown and text
White text reads best on brown: 7.08:1. The same numbers hold for brown text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.
| Text | Contrast | WCAG |
|---|---|---|
| AaWhite text on brown | 7.08:1 | AAA |
| AaBlack text on brown | 2.96:1 | Fails |
How brown looks with color blindness
Other brown hex codes
If the CSS brown looks too red to you, you are not alone. The browns most people mean are darker and warmer: saddle brown #8B4513, sienna #A0522D, or a plain dark brown like #654321. For coffee shops, coffee #6F4E37 is a common pick. Chocolate #D2691E in CSS is lighter and more orange than real chocolate.
- BrownCSS named color: brown. The code on this page
#A52A2A - Dark brownCommon variant
#654321 - Saddle brownCSS named color: saddlebrown
#8B4513 - SiennaCSS named color: sienna
#A0522D - CoffeeCommon variant
#6F4E37 - ChocolateCSS named color: chocolate
#D2691E
Brown in a small business brand
Brown feels warm, earthy and handmade: cafés, bakeries, leather and woodwork, outdoor brands. Dark browns make a good text color instead of black, softer on a cream or beige ground. As a background, brown carries white text. Add one lighter accent, such as cream or sage, so a brown post does not feel heavy.
FAQ
What is the hex code for brown?
Brown is #A52A2A as the CSS named color brown. In RGB that is rgb(165, 42, 42), and in CMYK cmyk(0%, 75%, 75%, 35%).
What text color goes on brown?
White text, at a contrast of 7.08:1, which passes WCAG AAA. Black text reaches 2.96:1, too low for any text.
What is the hex code for dark brown?
There is no CSS name for dark brown. #654321 is a common pick, and saddle brown #8B4513 is the darkest brown CSS has by name.
Why does CSS brown look red?
CSS brown #A52A2A comes from an old list of color names and leans red. For a browner brown, use saddle brown #8B4513 or a code like #654321.