Brown — #A52A2A
#A52A2A is a medium, moderately saturated red. It is the CSS named color brown.
Color values
| HEX | #A52A2A |
| RGB | rgb(165, 42, 42) |
| HSL | hsl(0, 59%, 41%) |
| CMYK | cmyk(0%, 75%, 75%, 35%) |
| Decimal | 10824234 |
| CSS | color: #A52A2A; |
| Android | 0xFFA52A2A |
| Swift | UIColor(red: 0.647, green: 0.165, blue: 0.165, alpha: 1) |
Accessibility and contrast
| White text on #A52A2A | 7.08:1 — AA pass · AA large pass · AAA pass |
| Black text on #A52A2A | 2.96:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #A52A2A
Each swatch keeps the hue and saturation of #A52A2A and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #A52A2A
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #A52A2A in code
/* CSS */
.element { color: #A52A2A; background-color: #A52A2A; }
.element { color: rgb(165 42 42); }
.element { color: hsl(0 59% 41%); }
/* Tailwind arbitrary value */
<div class="bg-[#A52A2A] text-white">
/* SCSS variable */
$brand: #A52A2A;
Frequently asked questions
What color is #A52A2A?
#A52A2A is a medium, moderately saturated red, which CSS calls brown. Its hue sits at 0° on the color wheel, with 59% saturation and 41% lightness.
What is #A52A2A in RGB?
#A52A2A converts to rgb(165, 42, 42) — 165 red, 42 green and 42 blue.
What is #A52A2A in CMYK?
Approximately cmyk(0%, 75%, 75%, 35%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #A52A2A be white or black?
White gives the better contrast ratio (7.08:1 versus 2.96:1).
What is the complementary color of #A52A2A?
#2BA6A6 — the hue directly opposite #A52A2A on the color wheel.