Huebook

Brown (CSS)

Brown (CSS) is a dark, moderately saturated red color with the hex code #A52A2A (hue 0°, saturation 59%, lightness 41%). It is also the CSS named color brown.

#A52A2A
NameHEXRGBHSLCMYKOKLCH
Brown (CSS)#A52A2A165, 42, 420°, 59%, 41%0, 75, 75, 3548.1% 0.160 26

Contrast with white text 7.08:1, with black text 2.96:1 — use white text on Brown (CSS).

brown is one of the 148 named colors in CSS, with exactly this value, so color: brown works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Brown (CSS)

Move the sliders to make Brown (CSS) lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Brown (CSS)
  • HEX#A52A2A
  • RGBrgb(165 42 42)
  • HSLhsl(0 59% 41%)

Variations of Brown (CSS)

Text on Brown (CSS)

White textThe quick brown fox7.08:1 · AA pass · AAA pass
Black textThe quick brown fox2.96:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Brown (CSS) with color blindness

Normal #A52A2A
Protanopia #4E4729
Deuteranopia #6D6226
Tritanopia #B6002C

How Brown (CSS) appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#F5D6D6
#E59999
#D65C5C
#B72F2F
#7A1F1F
#3D1010

Colors that go with Brown (CSS)

Six color schemes built on Brown (CSS) with classic harmony rules. The complementary scheme pairs it with Cancer Seagreen Scarab (#27A0A8), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium red colors

Questions

What is the hex code for Brown (CSS)?

#A52A2A — RGB 165, 42, 42, HSL 0°, 59%, 41%.

Is Brown (CSS) a warm or cool color?

Warm — its hue sits at 0° on the color wheel.