#A52A2A color (brown)

#A52A2A is rgb(165, 42, 42) in RGB and hsl(0, 59%, 41%) in HSL. It is exactly the CSS color brown. Use white text on it (contrast 7.08:1).

#A52A2Abrown
HEX#A52A2A
RGBrgb(165, 42, 42)
RGB percentrgb(64.7%, 16.5%, 16.5%)
HSLhsl(0, 59%, 41%)
HSV / HSBhsv(0, 75%, 65%)
CMYKcmyk(0%, 75%, 75%, 35%)
CIELAB (D65)lab(37.5 49.7 30.5)

Edit in the color converter → · Check contrast → · Shades →

About #A52A2A

#A52A2A is a medium-dark, saturated red with a hue angle of 0°. It belongs to the red family and reads as a warm color. In the RGB model red is the strongest channel at 165 (65%) and green the weakest at 42 (16%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#A52A2A
RGBrgb(165, 42, 42)
RGB percentrgb(64.7%, 16.5%, 16.5%)
HSLhsl(0, 59%, 41%)
HSV / HSBhsv(0, 75%, 65%)
CMYKcmyk(0%, 75%, 75%, 35%)
CIELAB (D65)lab(37.5 49.7 30.5)
Decimal10824234
Binary10100101 00101010 00101010

HEX A5 2A 2A → 165, 42, 42 (each pair is a base-16 number: A×16 + 5 = 165)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #A52A2A

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #A52A2ARatioAA normalAA largeAAA normalAAA large
White text7.08:1PassPassPassPass
Black text2.96:1FailFailFailFail
White text on #A52A2A
Black text on #A52A2A
#A52A2A text on white
#A52A2A text on black

Relative luminance is 0.0982 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#4e4729

Deuteranopia
#6d6226

Tritanopia
#b6002c

Achromatopsia
#585858

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 34.9). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
brown#a52a2a0
firebrick#b222223.1
darkred#8b00009.1
maroon#80000010.4

CSS

.element {
  color: #a52a2a;
  background-color: rgb(165, 42, 42);
  border: 1px solid hsl(0, 59%, 41%);
  box-shadow: 0 2px 8px rgb(165 42 42 / 50%);
}
:root { --brand: #a52a2a; }

Frequently asked questions

What color is #A52A2A?
A medium-dark saturated red in the red family. Closest CSS name: brown.
What is #A52A2A in RGB?
rgb(165, 42, 42): red 165, green 42, blue 42.
What is the complementary color of #A52A2A?
#2AA5A5, found by rotating the hue 180°.