Brown Color (#A52A2A)

#A52A2Argb(165, 42, 42)

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

CSS: brownLuminance: 0.0982
HEX
#A52A2A
RGB
rgb(165, 42, 42)
HSL
hsl(0, 59%, 41%)
Brown (#A52A2A) Color Format Conversions
FormatSyntax / ValuesNotesAction
HEX#A52A2A6-digit hex web code
RGBrgb(165, 42, 42)Red, Green, Blue channels (0-255)
HSLhsl(0, 59%, 41%)Hue (0°), Saturation (59%), Lightness (41%)
HSV / HSBhsv(0, 75%, 65%)Hue, Saturation (75%), Value/Brightness (65%)
CMYKcmyk(0%, 75%, 75%, 35%)Digital mathematical approximation (non-print)
OKLCHoklch(0.481 0.160 25.6)Perceptually uniform color space (CSS Color 4 approximation)
CSS Implementation & Quick Steps
background-color: #A52A2A; /* or brown */
  1. Select color format: Choose the desired format (HEX #A52A2A, RGB, or HSL).
  2. Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
  3. 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.

White

#FFFFFF
7.08:1Text-safe

Clean text on brown buttons and banners.

Ivory

#FFFFF0
7.02:1Text-safe

A softer, warmer alternative to white text.

Cornsilk

#FFF8DC
6.65:1Text-safe

A creamy off-white for backgrounds and text.

Wheat

#F5DEB3
5.39:1Text-safe

A warm beige for natural, rustic palettes.

Gold

#FFD700
5.05:1Text-safe

A rich accent for borders and headings.

Light Gray

#D3D3D3
4.73:1Text-safe

A cool neutral for secondary text.

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.

Brown
#A52A2A
Complement (180°)
#2AA5A5
Live UI Component Mockup
Component Header SampleWhite text on Brown: 7.08:1 (WCAG AAA).
Button style preview

Analogous Harmony

Hues 30 degrees either side (330° and 30°), keeping the original saturation and lightness.

Analogous (330°)
#A52A68
Brown
#A52A2A
Analogous (30°)
#A5682A
Live UI Component Mockup
Component Header SampleWhite text on Brown: 7.08:1 (WCAG AAA).
Button style preview

Triadic Harmony

Hues spaced evenly by 120 degrees (120° and 240°), keeping the original saturation and lightness.

Brown
#A52A2A
Triadic (120°)
#2AA52A
Triadic (240°)
#2A2AA5
Live UI Component Mockup
Component Header SampleWhite text on Brown: 7.08:1 (WCAG AAA).
Button style preview

Tints & Shades

Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.

Tint 60%
#DBAAAA
Tint 30%
#C06A6A
Brown
#A52A2A
Shade 30%
#741D1D
Shade 60%
#421111
Live UI Component Mockup
Component Header SampleWhite text on Brown: 7.08:1 (WCAG AAA).
Button style preview

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:

Text Contrast Ratios on Brown (#A52A2A)
Foreground ColorContrast RatioNormal Text (AA)Large Text (AA)Normal Text AAA (>= 7.0:1)
Pure Black (#000000)
2.96:1FailFailFail
Pure White (#FFFFFF)
7.08:1PassPassPass
Dark Charcoal (#212529)
2.18:1FailFailFail
Mid Gray (#666666)
1.23:1FailFailFail

Interactive Contrast Tester

Enter text foreground and background colors to verify WCAG legibility:

Calculated Ratio:
7.08:1
Normal: Pass AAALarge: Pass AAA
Large Heading Sample (18pt Bold)

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:

Brown 1920x1080 solid color background wallpaper previewStandard Wallpaper: 1920x1080 PNG (#A52A2A)

Download Options

All wallpaper files precisely match the W3C standard color value:

Download 1920x1080 PNG

CSS Standard & Usage Notes

brown = #a52a2a (rgb(165, 42, 42))
W3C CSS Color 4

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).

Published: · Modified: · Editorial: SwatchAtlas Editorial Team

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°).