Sienna color (#A0522D)
#A0522D (Sienna) is a orange colour. It is rgb(160, 82, 45) in RGB and hsl(19, 56%, 40%) in HSL. Text in white reads better on it: the contrast is 5.62:1 against white and 3.74:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#A0522D}:\quad R=\mathrm{A0}_{16}=160,\ G=\mathrm{52}_{16}=82,\ B=\mathrm{2D}_{16}=45 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
19^\circ + 180^\circ = 199^\circ ;\Rightarrow; \mathrm{#2D7BA0} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#A0522D} = \mathrm{rgb}(160, 82, 45) \]
\[ \mathrm{#A0522D}:\quad R=\mathrm{A0}_{16}=160,\ G=\mathrm{52}_{16}=82,\ B=\mathrm{2D}_{16}=45 \]
\[ H=19^\circ,\quad S=56\%,\quad L=40\% \]
\[ 19^\circ + 180^\circ = 199^\circ ;\Rightarrow; \mathrm{#2D7BA0} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.62:1\ \text{(on white)} \]Sienna in every colour format
| Format | Value |
|---|---|
| HEX | #A0522D |
| RGB | rgb(160, 82, 45) |
| RGB (percent) | rgb(62.7%, 32.2%, 17.6%) |
| HSL | hsl(19, 56%, 40%) |
| HSV / HSB | hsv(19, 72%, 63%) |
| CMYK | cmyk(0%, 49%, 72%, 37%) |
| Decimal | 10506797 |
| Description | orange |
| CSS name | sienna |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 5.62:1 | pass | pass | fail | pass |
| Black text | 3.74:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1B0E07 #351B0F #502917 #6B371E #854426 |
| This colour | #A0522D |
| Tints (mixed with white) | #B06F50 #C08C73 #D0A996 #DFC5B9 #EFE2DC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #675D29 | 33 |
| Deuteranopia | #7A6E2C | 33 |
| Tritanopia | #AF424A | 23 |
| Grayscale | #676767 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Saddle brown | #8B4513 |
| Brown | #A52A2A |
| Indian red | #CD5C5C |
| Peru | #CD853F |
Questions
What is the RGB value of #A0522D?
rgb(160, 82, 45): red 160, green 82, blue 45.
What is the HSL value of #A0522D?
hsl(19, 56%, 40%): a hue of 19°, 56% saturation and 40% lightness.
What is the complementary colour of #A0522D?
#2D7BA0, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #5FADD2.
Should I use white or black text on #A0522D?
White. White gives 5.62:1 and black 3.74:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #A0522D?
cmyk(0%, 49%, 72%, 37%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #A0522D a named colour?
Yes: it is the CSS colour name "sienna".