Skip to content
PantoneTools
red
CSS Named Colors

Brown

brown · #A52A2A

HEX

#A52A2A

RGB

rgb(165, 42, 42)

CMYK

cmyk(0%, 75%, 75%, 35%)

HSL

hsl(0, 59%, 41%)

LAB

lab(37.5, 49.7, 30.5)

What is Brown?

Brown is the brown reference in the CSS Named Colors. Its sRGB value is #A52A2A (rgb 165, 42, 42). It sits in the red family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Brown as a background.

Black text on this color

Sample text · 2.96 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 7.08 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Brown

An 11-step tonal scale derived from Brown (#A52A2A). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F8EEEE

50

#F8EEEE

#F8EEEE

Copied #F1DDDD

100

#F1DDDD

#F1DDDD

Copied #E2BBBB

200

#E2BBBB

#E2BBBB

Copied #D29595

300

#D29595

#D29595

Copied #BC5F5F

400

#BC5F5F

#BC5F5F

Copied #A52A2A

500

#A52A2A

#A52A2A

Copied #8C2424

600

#8C2424

#8C2424

Copied #6B1B1B

700

#6B1B1B

#6B1B1B

Copied #4A1313

800

#4A1313

#4A1313

Copied #290B0B

900

#290B0B

#290B0B

Copied #140505

950

#140505

#140505

Lighter tints (mixed with white)

Copied #B67272

15%

#B67272

Copied #C69898

30%

#C69898

Copied #D4B5B5

45%

#D4B5B5

Copied #E1CDCD

60%

#E1CDCD

Copied #EDE1E1

75%

#EDE1E1

Darker shades (mixed with black)

Copied #992626

15%

#992626

Copied #8C2222

30%

#8C2222

Copied #7E1E1E

45%

#7E1E1E

Copied #6C1818

60%

#6C1818

Copied #561111

75%

#561111

Color harmonies for Brown

Classic color-theory harmonies derived from rotating the hue of Brown. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #A52A2A

#A52A2A

#A52A2A

Copied #2BA6A6

#2BA6A6

#2BA6A6

Triadic

Three colors 120° apart

Copied #A52A2A

#A52A2A

#A52A2A

Copied #2BA62B

#2BA62B

#2BA62B

Copied #2B2BA6

#2B2BA6

#2B2BA6

Analogous

Two neighbors ±30° on the wheel

Copied #A62B69

#A62B69

#A62B69

Copied #A52A2A

#A52A2A

#A52A2A

Copied #A6692B

#A6692B

#A6692B

Split-complementary

Base + two colors flanking its complement

Copied #A52A2A

#A52A2A

#A52A2A

Copied #2BA669

#2BA669

#2BA669

Copied #2B69A6

#2B69A6

#2B69A6

Tetradic

Two complementary pairs

Copied #A52A2A

#A52A2A

#A52A2A

Copied #A6A62B

#A6A62B

#A6A62B

Copied #2BA6A6

#2BA6A6

#2BA6A6

Copied #2B2BA6

#2B2BA6

#2B2BA6

Square

Four colors evenly spaced 90° apart

Copied #A52A2A

#A52A2A

#A52A2A

Copied #69A62B

#69A62B

#69A62B

Copied #2BA6A6

#2BA6A6

#2BA6A6

Copied #692BA6

#692BA6

#692BA6

Brown in every color space

Full conversion of Brown across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#A52A2A

RGB

rgb(165, 42, 42)

CMYK

cmyk(0%, 75%, 75%, 35%)

HSL

hsl(0, 59%, 41%)

HSV

hsv(0, 75%, 65%)

HWB

hwb(0 16% 35%)

CIE Lab

lab(37.5 49.7 30.5)

OKLCH

oklch(48.1% 0.160 25.6)

XYZ (D65)

xyz(16.76, 9.83, 3.20)

Copy-ready code for Brown

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #A52A2A;
background-color: #A52A2A;

CSS variable

:root {
  --color-brown: #A52A2A;
}

Tailwind config

// tailwind.config.js
colors: {
  'brown': '#A52A2A',
}

Sass

$color-brown: #A52A2A;

Swift UIColor

UIColor(red: 0.647, green: 0.165, blue: 0.165, alpha: 1.0)

Android XML

<color name="brown">#A52A2A</color>

Closest match in every color system

The nearest Brown equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #B32428

RAL 3031

#B32428

Orient red

Copied #A2231D

RAL 3002

#A2231D

Carmine red

Copied #A52019

RAL 3001

#A52019

Signal red

Copied #9B111E

RAL 3003

#9B111E

Ruby red

Copied #B32821

RAL 3016

#B32821

Coral red

Copied #AF2B1E

RAL 3000

#AF2B1E

Flame red

FAQ about Brown

What is the HEX code for Brown?

Brown (brown) has the HEX code #A52A2A. In RGB it is rgb(165, 42, 42), and in CMYK it is cmyk(0%, 75%, 75%, 35%).

What is the OKLCH value of Brown?

Brown converts to oklch(0.481 0.160 25.6). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Brown accessible for body text?

Used as a background, Brown has a contrast ratio of 2.96:1 with black text and 7.08:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Brown?

The closest Pantone reference to Brown by ΔE2000 perceptual distance is Pantone 187 C (#A6192E). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Brown?

The closest RAL Classic reference to Brown by ΔE2000 distance is RAL 3031 (Orient red, #B32428). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Brown?

The complementary color (180° opposite on the HSL color wheel) of Brown is #2BA6A6. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
red

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Brown — #A52A2A | PantoneTools