brown brown #a52a2a
brown is #a52a2a in hexadecimal, rgb(165, 42, 42) in decimal and hsl(0, 59, 41) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #a52a2a |
| RGB | rgb(165, 42, 42) |
| HSL | hsl(0, 59%, 41%) |
Harmonies
Complementary
#2ba6a6Analogous
#a62b69#a6692bTriadic
#2ba62b#2b2ba6Split complementary
#2ba669#2b69a6Tints & shades
#8e2525#9a2828#a62b2b#b22e2e#bf3131Accessibility
| vs #ffffff | 7.08:1 |
| vs #000000 | 2.96:1 |
| Suggested text color | #ffffff · 7.08:1 · WCAG AAA |
Similar named colors
FAQ
What is the HEX code for brown?
brown is #a52a2a in hex, rgb(165, 42, 42) in decimal and hsl(0, 59%, 41%) in HSL. In CSS you can write either color: brown; or color: #a52a2a; — they are equivalent.
What colors go with brown?
The complementary #2ba6a6 gives the strongest contrast, the analogous pair #a62b69 / #a6692b is the safest, and the triad #2ba62b / #2b2ba6 adds more tension. All three are derived from the 0° hue of #a52a2a.
Does #a52a2a read better on white or black?
Its contrast is 7.08:1 against white and 2.96:1 against black. Use #ffffff text on it — that gives 7.08:1, which meets WCAG AAA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.