Brown — #A52A2A

The hex code for brown is #A52A2A — rgb(165, 42, 42), hsl(0, 59%, 41%). Use it in CSS as color: #A52A2A;.

Brown is the color of wood, earth, leather, and chocolate. It feels solid, warm, and dependable — the most “grounded” color in the palette.

Brown color codes — click to copy

HEX#A52A2A
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)
HSVhsv(0, 75%, 65%)
CMYKcmyk(0%, 75%, 75%, 35%)

Shades, tints & tones of brown

Click any swatch to copy it.

Shades — mix with black
Tints — mix with white
Tones — mix with gray

Brown harmonies

Click a swatch to copy it.

Complementary
Analogous
Triadic
Split Complementary
Tetradic
Square
Monochromatic

Colors that go with brown

ColorHex
Beige#F5F5DC
Cream#FFFDD0
Green#008000
Gold#FFD700

Where brown is used

Use brown for coffee, food, outdoor, and handcrafted brands. It pairs naturally with cream, beige, and green for a rustic or organic look.

What brown is often associated with: Warmth, reliability, comfort, and nature.

Contrast — can you read text on brown?

White text on brown scores 7.08:1

Normal text: AA Pass   AAA Pass

Large text (18pt+, or 14pt bold+): AA Pass   AAA Pass

Black text scores 2.96:1

Normal text: AA Fail   AAA Fail

Large text (18pt+, or 14pt bold+): AA Fail   AAA Fail

Check any pair in the contrast checker →

How brown looks with color blindness

Simulated with the Machado matrices. Click a swatch to copy the simulated color.

Protanopia

#706F2A

Deuteranopia

#77802A

Tritanopia

#9F2A2A

This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.

Frequently asked questions

What is the hex code for brown?

The hex code for brown is #A52A2A.

What is the RGB of brown?

The RGB of brown is rgb(165, 42, 42).

What colors go with brown?

Colors that go well with brown include beige (#F5F5DC), cream (#FFFDD0), green (#008000). See the pairings table on this page for the full list.

Is brown a good color for a website?

Brown works well as an accent or background — white text on it scores 7.08:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.

What does the color brown mean?

Warmth, reliability, comfort, and nature.

Related tools

Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker