Brown colour (#A52A2A)

Brown is medium a red with hex code #A52A2A, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 165, 42, 42; in HSL 0°, 59%, 41%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Brown colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Brown in every format

FormatValue
HEX#A52A2A
RGBrgb(165, 42, 42)
RGB (0–1)0.647, 0.165, 0.165
HSLhsl(0, 59%, 41%)
CMYK (approx.)0%, 75%, 75%, 35%
CSScolor: brown;

Shades and tints of Brown

Same hue and saturation, lightness from 90% to 10%:

#f5d6d6 #eaaeae #e08585 #d55d5d #cb3434 #a22a2a #7a1f1f #511515 #290a0a

Colours that go with Brown

HarmonyColours
Complementary #2ba6a6
Triadic #2ba62b #2b2ba6
Analogous #a6692b #a62b69

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
firebrick #b22222very close
sienna #a0522dclose
saddlebrown #8b4513close
crimson #dc143cclose
darkred #8b0000close

Accessibility

Contrast ratio of Brown against white is 7.08:1 (passes WCAG AA for normal text) and against black 2.96:1 (fails). Use Brown for text on white backgrounds.

Frequently asked questions

What is the hex code for Brown?

#A52A2A.

What is Brown in RGB?

rgb(165, 42, 42).

What colour is complementary to Brown?

#2ba6a6, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.