Brown #A52A2A
Brown is one of the named colours in CSS, written brown. White text reaches 7.08:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | brown |
|---|---|
| HEX | #A52A2A |
| RGB | rgb(165 42 42) |
| HSL | hsl(0 59% 41%) |
| OKLCH | oklch(48.1% 0.160 25.6) |
| White text | 7.08:1 · body text AA Pass |
| Black text | 2.96:1 · body text AA Fail |
Colours that go with Brown
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Carmine Red (#A62C37), nearly identical. These are the colours Wada paired it with, ranked by their contrast with Brown itself.
| Colour | HEX | Contrast with Brown | Body text AA |
|---|---|---|---|
| Pale Lemon Yellow | #FFEFAE | 6.14:1 | Pass |
| Sulpher Yellow | #F5ECC2 | 5.96:1 | Pass |
| Orange Yellow | #FCB315 | 3.91:1 | Fail |
| Olive Buff | #C1C494 | 3.91:1 | Fail |
| Neutral Gray | #B6BFC1 | 3.78:1 | Fail |
| Grayish Lavender - B | #C0A9B3 | 3.23:1 | Fail |
| Salvia Blue | #97ACC8 | 3.05:1 | Fail |
| Black | #111314 | 2.63:1 | Fail |
| Light Brown Drab | #B59392 | 2.55:1 | Fail |
| Chromium Green | #719470 | 2.08:1 | Fail |
| Oil Green | #819238 | 2.06:1 | Fail |
| Buffy Citrine | #96874D | 1.98:1 | Fail |
| Cotinga Purple | #501345 | 1.95:1 | Fail |
| Raw Sienna | #BB7125 | 1.86:1 | Fail |
| Dark Tyrian Blue | #12354E | 1.80:1 | Fail |
| Slate Color | #34454C | 1.41:1 | Fail |
| Madder Brown | #762C19 | 1.38:1 | Fail |
| Dusky Green | #004F46 | 1.34:1 | Fail |
| Blue | #006EB8 | 1.32:1 | Fail |
| Violet Blue | #40456A | 1.30:1 | Fail |
| Violet | #4F4086 | 1.23:1 | Fail |
Palettes with Carmine Red
- Combination #35 Light Brown Drab · Carmine Red
- Combination #51 Carmine Red · Blue
- Combination #104 Carmine Red · Sulpher Yellow
- Combination #130 Raw Sienna · Carmine Red · Violet
- Combination #181 Carmine Red · Violet · Cotinga Purple
- Combination #200 Carmine Red · Olive Buff · Chromium Green
- Combination #221 Carmine Red · Neutral Gray · Black
- Combination #228 Carmine Red · Pale Lemon Yellow · Neutral Gray
- Combination #233 Carmine Red · Buffy Citrine · Violet Blue
- Combination #237 Carmine Red · Madder Brown · Salvia Blue
- Combination #245 Carmine Red · Oil Green · Dark Tyrian Blue · Slate Color
- Combination #338 Carmine Red · Orange Yellow · Dusky Green · Grayish Lavender - B
Shades and tints of Brown
Nine lightness steps in OKLCH that keep the hue of Brown. Chroma is reduced only where sRGB cannot show it.
- 100#FFF2F0
- 200#FFDBD7
- 300#FFBAB2
- 400#FF8A81
- 500#E3645D
- 600#BD413E
- 700#9B1E21
- 800#73000C
- 900#470004
:root {
--brown-100: #FFF2F0;
--brown-200: #FFDBD7;
--brown-300: #FFBAB2;
--brown-400: #FF8A81;
--brown-500: #E3645D;
--brown-600: #BD413E;
--brown-700: #9B1E21;
--brown-800: #73000C;
--brown-900: #470004;
}
Text that keeps Brown on screen
Text #A52A2A on #FFF2F0 reaches 6.48:1, which passes WCAG AA for body text. Check it on a dashboard