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.
How to use the Brown colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Brown in every format
| Format | Value |
|---|---|
| HEX | #A52A2A |
| RGB | rgb(165, 42, 42) |
| RGB (0–1) | 0.647, 0.165, 0.165 |
| HSL | hsl(0, 59%, 41%) |
| CMYK (approx.) | 0%, 75%, 75%, 35% |
| CSS | color: 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
| Harmony | Colours | |
|---|---|---|
| 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:
| Colour | HEX | Difference |
|---|---|---|
| firebrick | #b22222 | very close |
| sienna | #a0522d | close |
| saddlebrown | #8b4513 | close |
| crimson | #dc143c | close |
| darkred | #8b0000 | close |
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.