brown (#A52A2A)

brown is a CSS named color with the hex code #A52A2A, rgb(165, 42, 42). It is a medium-dark, saturated red.

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

Full #A52A2A details: palettes, shades, color-blind view →

Description

Brown has a hue of 0°, saturation 59% and lightness 41%, which places it in the red family. Its strongest channel is red (165).

Using brown in CSS

.title { color: brown; }
.box   { background: brown; border-color: #a52a2a; }
.soft  { background: rgb(165 42 42 / 20%); }   /* brown at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
firebrick#b22222178, 34, 343.1
darkred#8b0000139, 0, 09.1
maroon#800000128, 0, 010.4
crimson#dc143c220, 20, 6010.7
sienna#a0522d160, 82, 4512.9
saddlebrown#8b4513139, 69, 1915.5
indianred#cd5c5c205, 92, 9215.6
red#ff0000255, 0, 018.9

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 7.08:1; with black text: 2.96:1. White body text on brown meets WCAG AA.

Frequently asked questions

What is the hex code for brown?
#A52A2A.
What colors are similar to brown?
firebrick (#b22222), darkred (#8b0000), maroon (#800000).