Brown Color

HEX #A52A2A · rgb(165, 42, 42) · hsl(0, 59%, 41%)

Brown color codes

Brown is one of the named colors every browser understands. In CSS you can write it as brown or #A52A2A.

FormatValue
HEX#A52A2A
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)
CMYK0%, 75%, 75%, 35%
CSS namebrown
.example {
  color: brown;
  background-color: #A52A2A;
  border-color: rgb(165, 42, 42);
}

Colors that go with brown

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#2AA5A5Complementary
#A52A68Analogous
#A5682AAnalogous
#2AA52ATriadic
#2A2AA5Triadic

Tints and shades of brown

Tints mix the color with white; shades mix it with black.

#F6EAEA90% white
#E9CACA75% white
#DBAAAA60% white
#CE8A8A45% white
#C06A6A30% white
#B34A4A15% white
#A52A2ABase
Brown
#8C242415% black
#741D1D30% black
#5B171745% black
#42111160% black
#290B0B75% black
#11040490% black

Contrast and readability

Black text
2.96:1
fails
White text
7.08:1
passes AA and AAA

Use white text on brown. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for brown?

The hex code for brown is #A52A2A.

What is the RGB value of brown?

Brown is rgb(165, 42, 42): 165 red, 42 green and 42 blue on a 0 to 255 scale.

What color goes with brown?

Its complementary color is #2AA5A5, which is closest to the named color light sea green. Analogous and triadic matches are listed on this page.

Should text on brown be black or white?

Use white text. The contrast ratio is 2.96:1 with black and 7.08:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.