AfoliOpen Afoli →

Brown color #A52A2A

Brown is one of the CSS named colors (keyword brown) with the hex code #A52A2A — RGB 165, 42, 42, HSL 0°, 59%, 41%.

Open in Afoli Colour tools →

#A52A2ABrown

Color codes

HEX
#A52A2A
RGB
rgb(165, 42, 42)
HSL
hsl(0, 59%, 41%)
CMYK
0%, 75%, 75%, 35%
OKLCH
oklch(48.1% 0.16 25.6)
CSS keyword
brown

Tints and shades

#FFF1F0#FFCCC6#FFA39B#FA7970#DD5F58#C04541#A42929#880211#630008#3F0003#1F0001

Color harmonies

Complementary
#A52A2A#006B74
Analogous
#9E2961#A52A2A#8F4800
Triadic
#A52A2A#00721F#3255B6
Split complementary
#A52A2A#006E5B#00668F
Tetradic
#A52A2A#5C6400#006B74#6744AC

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Brown text on white7.08 : 183AAA — any text
Brown text on black2.96 : 1-19Fails for text
White text on Brown7.08 : 1-88AAA — any text
Black text on Brown2.96 : 121Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Brown?

Brown has the hex code #A52A2A, which is RGB 165, 42, 42 and HSL 0°, 59%, 41%.

Which text color reads best on Brown?

White text: contrast 7.08 : 1 (black text: 2.96 : 1).

Which colors go well with Brown?

Its complementary color is #006B74; analogous colors are #9E2961 and #8F4800; a triadic set adds #00721F and #3255B6.

Similar colors

Sources and licences

Updated November 21, 2026