Brown Color (#A52A2A)
Brown is a CSS named color defined as hex code #A52A2A. CSS brown is #A52A2A, a dark red-leaning brown: its hue is 0°, the same as pure red, with reduced saturation and lightness. It is redder than the earthy brown most people picture.
Color Overview & Formats
brownLuminance: 0.0982| Format | Syntax / Values | Notes | Action |
|---|---|---|---|
| HEX | #A52A2A | 6-digit hex web code | |
| RGB | rgb(165, 42, 42) | Red, Green, Blue channels (0-255) | |
| HSL | hsl(0, 59%, 41%) | Hue (0°), Saturation (59%), Lightness (41%) | |
| HSV / HSB | hsv(0, 75%, 65%) | Hue, Saturation (75%), Value/Brightness (65%) | |
| CMYK | cmyk(0%, 75%, 75%, 35%) | Digital mathematical approximation (non-print) | |
| OKLCH | oklch(0.481 0.160 25.6) | Perceptually uniform color space (CSS Color 4 approximation) |
background-color: #A52A2A; /* or brown */- Select color format: Choose the desired format (HEX #A52A2A, RGB, or HSL).
- Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
- Pair with white text: White text on Brown reaches 7.08:1 (WCAG AAA).
What Colors Go With Brown?
These 6 colors all go well with Brown (#A52A2A), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Brown: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.
Harmonious Palettes & Tints
The palettes below are algorithmically generated across standard intervals based on Brown (HSL 0°). Each group offers full palette copy and live preview:
Complementary Harmony
Hue rotated 180 degrees on the HSL wheel (0° to 180°), keeping the original saturation and lightness.
Analogous Harmony
Hues 30 degrees either side (330° and 30°), keeping the original saturation and lightness.
Triadic Harmony
Hues spaced evenly by 120 degrees (120° and 240°), keeping the original saturation and lightness.
Tints & Shades
Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.
WCAG 2.2 Text Readability & Contrast Check
Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:
| Foreground Color | Contrast Ratio | Normal Text (AA) | Large Text (AA) | Normal Text AAA (>= 7.0:1) |
|---|---|---|---|---|
Pure Black (#000000) | 2.96:1 | Fail | Fail | Fail |
Pure White (#FFFFFF) | 7.08:1 | Pass | Pass | Pass |
Dark Charcoal (#212529) | 2.18:1 | Fail | Fail | Fail |
Mid Gray (#666666) | 1.23:1 | Fail | Fail | Fail |
Interactive Contrast Tester
Enter text foreground and background colors to verify WCAG legibility:
This is sample body text rendered directly to verify contrast and readability.
Brown Background Download
Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:
Standard Wallpaper: 1920x1080 PNG (#A52A2A)Download Options
All wallpaper files precisely match the W3C standard color value:
CSS Standard & Usage Notes
brown = #a52a2a (rgb(165, 42, 42))
UI Design & Accessibility Guidelines
Use it for warm headings, buttons, leather and wood themes, and autumn palettes. On Brown, white text passes WCAG AAA at every size (7.08:1); black text fails even for large text (2.96:1).
Frequently Asked Questions (FAQ)
Can I use black text on Brown?
No. Black text on Brown has a WCAG 2.2 contrast ratio of only 2.96:1, below the 3:1 minimum even for large text.
Can I use white text on Brown?
Yes. White text on Brown has a WCAG 2.2 contrast ratio of 7.08:1, passing both AA (4.5:1) and AAA (7:1) at every text size.
What colors go with Brown?
White, Ivory, Cornsilk, Wheat, Gold and Light Gray all go well with Brown. White (7.08:1), Ivory (7.02:1), Cornsilk (6.65:1), Wheat (5.39:1), Gold (5.05:1) and Light Gray (4.73:1) have enough contrast for text on Brown.
Why does CSS brown look red?
CSS brown (#A52A2A) has a hue of 0°, which is pure red. Earthier browns sit around 25°, like Saddle Brown (#8B4513, hue 25°).