Brown #A52A2A

Brown#A52A2A · rgb(165, 42, 42)

Brown color codes

CSS namebrown
HEX#A52A2A
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)
CMYKcmyk(0%, 75%, 75%, 35%)
Decimal10824234

Shades of Brown (darker)

#952626 · #842222 · #741D1D · #631919 · #531515 · #421111 · #320D0D · #210808 · #110404

Tints of Brown (lighter)

#AE3F3F · #B75555 · #C06A6A · #C97F7F · #D29595 · #DBAAAA · #E4BFBF · #EDD4D4 · #F6EAEA

Color harmonies

Complementary
#2BA6A6
Triadic
#2BA62B, #2B2BA6
Analogous
#A62B69, #A6692B

Accessibility (WCAG contrast)

White text on Brown7.08:1 · AAA
Black text on Brown2.96:1 · Fail

Use Brown in code

.element {
  color: brown;          /* or #a52a2a */
  background-color: rgb(165 42 42 / 0.5);
}

Frequently asked questions

What is the hex code for Brown?

Brown is #A52A2A in HEX, rgb(165, 42, 42) in RGB and hsl(0, 59%, 41%) in HSL.

Can I use "brown" directly in CSS?

Yes. "brown" is one of the 148 standard CSS named colors, so color: brown; works in every browser.

Is Brown readable on white?

The contrast ratio of Brown on white is 7.08:1 (WCAG AAA). On black it is 2.96:1 (Fail).

What is the complementary color of Brown?

The complementary color (opposite on the color wheel) is #2BA6A6.

Similar colors

Convert any color with the Color Converter, generate palettes with the Random Color Generator, or browse all 148 CSS color names.