Free Accessible CSS Gradient Generator

← All Colors
#A0522D Sienna

Sienna Hex Code #A0522D

Sienna is a medium, strong brown with the hex code #A0522D. In RGB it is 160, 82, 45, and in HSL it is 19°, 56%, 40%. It is one of the 148 named colors in CSS, so you can write “sienna” instead of the hex code.

HEX
#A0522D
RGB
rgb(160, 82, 45)
HSL
hsl(19, 56%, 40%)
HSV
hsv(19°, 72%, 63%)
CMYK
cmyk(0%, 49%, 72%, 37%)
CSS name
sienna

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Sienna

On a white background Sienna has a contrast ratio of 5.62:1 (AA), and on black 3.74:1 (AA Large). White text is the better choice on top of it.

It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.

Brown is earthy and warm. It suits natural, rustic and food-related designs, and works as a softer, more grounded alternative to black.

Shades and tints of Sienna

Tints mix Sienna with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Sienna

These schemes are calculated from Sienna on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Sienna is #2D92A0, close to the named color Dark Cyan.

Sienna contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Sienna scores against white and black.

Contrast of Sienna with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 5.62:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Black (#000000) 3.74:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Aa White text on Sienna5.62:1
Aa Black text on Sienna3.74:1

Sienna and color blindness

These are approximate previews of how Sienna can look with the main types of color vision deficiency.

Protanopia #675D29

Sienna changes noticeably.

Deuteranopia #7A6E2C

Sienna changes noticeably.

Tritanopia #AF424A

Sienna changes noticeably.

Achromatopsia #676767

Sienna changes noticeably.

Gradients with Sienna

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Sienna to a lighter tint

background: linear-gradient(135deg, #a0522d 0%, #d9baab 100%);

Sienna to its analogous neighbour

background: linear-gradient(135deg, #a0522d 0%, #a08b2d 100%);

Sienna to its complement

background: linear-gradient(135deg, #a0522d 0%, #2d7ba0 100%);

Colors similar to Sienna

How each close match differs from Sienna.

More brown colors →

Use Sienna in code

CSS
.element {
  color: #a0522d;
  background-color: #a0522d;
  border-color: sienna;   /* sienna is a valid CSS color name */
}
CSS variable
:root {
  --color-sienna: #a0522d;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#a0522d] text-[#a0522d] border-[#a0522d]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-sienna: #a0522d;
}

Sienna questions

What is the hex code for Sienna?

The hex code for Sienna is #A0522D. In RGB that is rgb(160, 82, 45), and in HSL it is hsl(19, 56%, 40%).

What is the complementary color of Sienna?

On the RGB (screen) color wheel, the complement of Sienna is #2D7BA0, which is close to Steel Blue. On the artist’s RYB wheel it is #2D92A0, close to Dark Cyan.

Should I use white or black text on Sienna?

White text. It has a contrast ratio of 5.62:1 against Sienna, which is WCAG AA. The other option scores 3.74:1.

Is Sienna accessible as a text color on white?

Yes. Sienna on white scores 5.62:1, which passes WCAG AA for normal text (4.5:1).

What are darker and lighter shades of Sienna?

Mixing Sienna with black gives #804224, #60311B, #402112, #201009 (20% to 80% black). Mixing it with white gives #B37557, #C69781, #D9BAAB, #ECDCD5 (20% to 80% white).

More color tools