TintShelf
Interface

Brown Color Code: Hex #A52A2A

The hex code for Brown is #A52A2A (the CSS keyword brown). Brown RGB code: rgb(165, 42, 42). The xkcd color survey gives #653700 instead, which looks clearly different; both codes are below with their source.

CSS Color 4#A52A2ATop: the code browsers use
xkcd color survey, meodai color-name-list#653700Below: compare edge to edge

Brown color codes: each Brown hex code in every format

HEX#A52A2A
RGBrgb(165, 42, 42)
HSLhsl(0, 59%, 41%)
OKLCHoklch(48.1% 0.160 25.6)
LABlab(38.1 50.4 31.8)
CMYKcmyk(0%, 75%, 75%, 35%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
brown
Contrast
7.08:1 with white, 2.96:1 with black
CSS keyword
brown
Character
dark, vivid
Readable text on it
white (AA)

The word comes from Old English brún, first used for any dusky or dark shade; it is recorded as a color name in English from about the year 1000. The web keyword brown is a dark red; the color traditionally called brown is a darker orange, and the traditional name for the web shade is red-brown, recorded as a color name from 1682.

A dark, vivid red with a warm cast. In code, brown gives exactly this web value. If you mean the color as people usually picture the name, the survey value #653700 is closer: it is darker and more muted.

White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Firebrick, its closest named neighbour, it looks about as light, more muted and cooler; beside Cherry it looks darker, more muted and cooler. It is one of the darkest of the brown family here.

Colors that go with Brown

Complementary: the opposite of Brown

Open in generator

  • #A52A2AWhite text 7.08:1
  • #006B74White text 6.26:1
  • #D48D87Black text 7.96:1
  • #003F45White text 11.69:1

Analogous

Open in generator

  • #9E2961White text 7.13:1
  • #A52A2AWhite text 7.08:1
  • #8F4800White text 6.79:1
  • #E2ACA6Black text 10.69:1

Triadic

Open in generator

  • #A52A2AWhite text 7.08:1
  • #00721FWhite text 6.13:1
  • #3255B6White text 6.75:1
  • #EECBC7Black text 14.00:1

Monochrome

Open in generator

  • #2B0505White text 18.64:1
  • #651616White text 12.50:1
  • #A52A2AWhite text 7.08:1
  • #C66F67Black text 5.87:1
  • #E2ACA6Black text 10.69:1

With neutrals

Open in generator

  • #A52A2AWhite text 7.08:1
  • #EECBC7Black text 14.00:1
  • #120101White text 20.38:1
  • #906B67White text 4.68:1

How tints, shades and harmonies are calculated

Preview

Heading on Brown

Body text on this color, 7.08:1.

Button

Heading in Brown

Text in this color on white, 7.08:1.

Button

Tints and shades

  1. #EECBC7
  2. #E2ACA6
  3. #D48D87
  4. #C66F67
  5. #B64F49
  6. #A52A2A
  7. #842020
  8. #651616
  9. #470D0D
  10. #2B0505
  11. #120101

WhiteBrownBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.