Brown — #a52a2a

Brown (#a52a2a) is a medium, strong red. It is a CSS named color, so you can use it in stylesheets as color: brown as well as by its hex code. In RGB it is rgb(165, 42, 42); in HSL, hsl(0, 59%, 41%).

#a52a2a

Color conversions

Hex#a52a2a
CSS namebrown
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)
CMYK0%, 75%, 75%, 35%
CSS examplecolor: #a52a2a; background-color: rgb(165, 42, 42);

Tints and shades of #a52a2a

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #a52a2a

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #a52a2a background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)7.08:1AAAAAA
Black text (#000000)2.96:1FailsFails

Similar named colors

The CSS named colors closest to #a52a2a: