Brown Color — #A52A2A HEX Code
Brown uses #A52A2A, or RGB(165, 42, 42), in this color catalog. Explore complementary colors, palettes and text contrast below.
Color Wheel
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes. Explore analogous harmonies for Brown.
Click a swatch to select · Click hex to copy
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes.
Brown
#A52A2A
Brown color reference
Updated
Brown is a red-leaning CSS brown. Tan and chocolate offer lighter or more orange alternatives; comparing the values helps make an earthy palette deliberate.
CSS keyword: brown. Each resolves to #A52A2A in sRGB.
- HEX — exact
- #A52A2A
- RGB — exact 8-bit channels
- 165, 42, 42
- HSL — rounded
- 0°, 59%, 41%
What is the complementary color?
An HSL hue rotation of 180° gives #2BA6A6, keeping the rounded saturation and lightness values. This reference calculation rounds HSL before converting back to RGB. It is a digital harmony starting point, not a pigment-mixing rule or a guarantee of readable text.
Black or white text on Brown?
AA requires at least 4.5:1 for normal text. Results use opaque colors and unrounded contrast values; a passing pair does not establish complete accessibility.
A worked palette in this color family
For brown and clay accents, inspect a terracotta product action whose white label is checked independently from brown reading text on a pale surface.
The collection uses its own listed HEX values; it does not substitute them for this #A52A2A reference.
Earth Tone Color Palettes: roles, contrast checks and CSSUse #A52A2A in a real interface
Exact match in the Color Match reference list: Brown. Reference names are browsing labels; not every name is a CSS keyword.
Try brown in a heading or warm action surface beside a pale neutral.
Inspect small labels and focus states separately; a warm visual theme is a design choice, not a cultural guarantee.
Assign roles and check the pair
The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.
A palette in context
Use this preview to inspect reading text and an accent label.
Example actionReading text #A52A2A on #FFEDD5: 6.182:1 - Pass normal text AA.
Accent label #FFFFFF on #A52A2A: 7.084:1.
Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.
All color pairs: normal text AA
| Text / background | #A52A2A | #FFEDD5 |
|---|---|---|
| #A52A2A | 1.00:1 Fail | 6.18:1 Pass |
| #FFEDD5 | 6.18:1 Pass | 1.00:1 Fail |
:root {
--surface: #FFEDD5;
--text: #A52A2A;
--accent: #A52A2A;
--on-accent: #FFFFFF;
}Shades & Tints
Tints (Adding White)
Shades (Adding Black)
Theme Palettes
Pastel
Vintage
Neon
Dark Mode
Nature
Live Website Preview
Preview your landing page
See your selected colors on headings, surfaces and example actions.
Accessibility
Text contrast on Brown
Each sample uses this color as the background. Results describe opaque text contrast, not the accessibility of a whole design.
White text
A normal-size text example.
#FFFFFF on #A52A2A
WCAG: 7.084:1
Normal text: AAA. Large text: AAA.
APCA: -88.30 Lc (supplementary).
Inspect this pair and find a fixBlack text
A normal-size text example.
#000000 on #A52A2A
WCAG: 2.964:1
Normal text: Fail. Large text: Fail.
APCA: 20.74 Lc (supplementary).
Inspect this pair and find a fixAA needs 4.5:1 for normal text and 3:1 for large text. Large text is at least 24 CSS px, or about 18.67 CSS px and bold. Methods and limitations
Vision Simulator
Normal Vision
Vision: Viénot 1999 + Machado 2009. Environment: approximate perceptual simulation.
Extract Colors from Image
Drop image, click, or paste
PNG · JPG · WebP · GIF