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

#a52a2a
HEX#a52a2a
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)

Harmonies

Complementary

#2ba6a6

Analogous

#a62b69#a6692b

Triadic

#2ba62b#2b2ba6

Split complementary

#2ba669#2b69a6

Tints & shades

#8e2525#9a2828#a62b2b#b22e2e#bf3131

Accessibility

vs #ffffff7.08:1
vs #0000002.96:1
Suggested text color#ffffff · 7.08:1 · WCAG AAA

Similar named colors

firebrick#b22222sienna#a0522dsaddlebrown#8b4513crimson#dc143cdarkred#8b0000maroon#800000

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.

← All named colors