About brown
CSS brown (#A52A2A) is a fairly red brown, close to a brick color.
Yellower browns among the CSS named colors are saddlebrown (#8B4513), sienna (#A0522D), chocolate (#D2691E) and peru (#CD853F), and lighter tans include tan (#D2B48C) and burlywood (#DEB887).
Shades and tints of brown
Brown lands on the 800 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For brown mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with brown
Partner hues are picked on the OKLCH color wheel at a mid lightness, because brown itself is very dark.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of brown
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of brown on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on brown
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 7.08:1 | Pass | Pass | Pass |
| Black | 2.96:1 | Fail | Fail | Fail |
The ratio is the same either way round, so brown text on a white background is also 7.08:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to brown, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
orange-800 v4: orange-800, #9F2D00, deltaE OK 0.034
orange-800 v3: orange-800, #9A3412, deltaE OK 0.037
In Tailwind CSS v4 it is orange-800 (#9F2D00), and in v3 orange-800 (#9A3412). For the exact color, use an arbitrary value such as bg-[#a52a2a]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Brown with color vision deficiency
An approximation of how brown may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using brown in code
.example {
color: brown; /* named color */
background-color: #a52a2a; /* hex */
border-color: rgb(165, 42, 42);
}
