Brown Color
Brown is a warm, reddish brown. Its hex code is #A52A2A, which is rgb(165, 42, 42) in RGB, hsl(0, 59%, 41%) in HSL and cmyk(0%, 75%, 75%, 35%) in CMYK. It is a standard named color in CSS, so you can write it as brown in a stylesheet.
#A52A2Aexactly brown
This is the CSS color brown #A52A2A
Use 3 or 6 digits, for example #1E90FF or 19F
For example rgb(30, 144, 255) or 30 144 255
For example hsl(210, 100%, 56%)
For example cmyk(88%, 44%, 0%, 0%)
Recent colors
Colors you pick appear here. They stay on this device.
By the Hex Color Picker Team. Updated
Brown color codes
- Hex:
#A52A2A - RGB:
rgb(165, 42, 42) - HSL:
hsl(0, 59%, 41%) - CMYK:
cmyk(0%, 75%, 75%, 35%)(standard formula, not a print profile) - CSS name:
brown
About the color brown
CSS brown has a strong red channel while green and blue are held low and equal, which gives it a red cast. Earthier browns such as saddlebrown and sienna sit in the same family if you want something with less red.
Where brown works
- Earthy, natural and craft brands: coffee, leather, wood, food.
- Body text and headings on light backgrounds, where it has strong contrast.
- Borders, footers and rustic page backgrounds.
Colors that go with brown
These named colors pair well with brown. Click one to see its page where it exists.
The complementary color of brown, directly opposite it on the color wheel, is #2AA5A5, closest to lightseagreen. The analogous neighbors are #A52A68 and #A5682A, and the triadic partners are #2AA52A and #2A2AA5. The color palette generator builds a full scheme from any of them.
Named colors nearest to brown are firebrick, saddlebrown, and sienna.
Shades and tints of brown
Keeping the hue and saturation of brown and stepping the lightness from light to dark gives this scale. Use the lighter values for backgrounds and the darker ones for text and borders.
- #FAEBEB
- #EEBDBD
- #E38F8F
- #D76161
- #CB3434
- #9E2828
- #701C1C
- #421111
- #140505
Contrast and accessibility
White text on brown has a contrast ratio of 7.1:1, and black text has 3.0:1. The WCAG AA guideline asks for at least 4.5:1 for body text and 3:1 for large text. White text passes on brown.
Brown nearly disappears on black. Keep it for light surfaces.
Common questions
What is the hex code for brown?
The hex code for brown is #A52A2A. In RGB it is rgb(165, 42, 42) and in HSL it is hsl(0, 59%, 41%).
Is brown its own color on a screen?
Not really. It has the same hue as red in this case, with lower saturation and lightness. Lightness is what turns a red into a brown.
Is white text readable on brown?
Yes. White text on brown has a contrast ratio of 7.1:1, which meets the 4.5:1 WCAG AA guideline for body text.