CSS named color
Sienna #A0522D
Sienna (CSS keyword sienna) has the hex code #A0522D and the RGB value rgb(160, 82, 45): a medium-dark, moderately saturated brown.
Named after the earth pigment from Siena, Italy, used by painters as raw and burnt sienna. The CSS value (#a0522d) is close to burnt sienna, a reddish brown.
Color codes for Sienna
| CSS keyword | sienna |
|---|---|
| HEX | #A0522D |
| RGB | rgb(160, 82, 45) |
| HSL | hsl(19, 56%, 40%) |
| HWB | hwb(19 18% 37%) |
| OKLCH | oklch(52.6% 0.115 44.6) |
| CMYK (naive, no ICC profile) | cmyk(0%, 49%, 72%, 37%) |
| Decimal | 10,506,797 |
| Hue family | Browns and tans |
Contrast and accessibility
On sienna, white text has a contrast ratio of 5.61:1 and passes AA for normal text; black text reaches 3.73:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on sienna | 3.73:1 | Fail | Pass | Fail | Fail | 26.4 |
| White text on sienna | 5.61:1 | Pass | Pass | Fail | Pass | −82.9 |
| Sienna text on white | 5.61:1 | Pass | Pass | Fail | Pass | 77.6 |
| Sienna text on black | 3.73:1 | Fail | Pass | Fail | Fail | −24.1 |
Tints and shades
Each step mixes sienna with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, sienna, white 25%) in CSS.
Tints (mixed with white)
- 5%
#a55b38 - 15%
#ae6c4d - 25%
#b87d62 - 35%
#c18f77 - 45%
#cba08c - 55%
#d4b1a1 - 65%
#dec2b6 - 75%
#e7d4cb - 85%
#f1e5e0 - 95%
#faf6f5
Shades (mixed with black)
- 5%
#984e2b - 15%
#884626 - 25%
#783e22 - 35%
#68351d - 45%
#582d19 - 55%
#482514 - 65%
#381d10 - 75%
#28150b - 85%
#180c07 - 95%
#080402
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, sienna's complementary color is #00779C (close to teal), its analogous colors are #A24B56 and #915F00, and its triadic partners are #007F59 and #6460AA. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #00779c |
| Analogous | −30°, +30° | #a24b56#915f00 |
| Triadic | +120°, +240° | #007f59#6460aa |
| Split-complementary | +150°, +210° | #007d7e#386cac |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Sienna is a warm color: its hue is 19° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| saddlebrown | #8b4513 | 5.7 |
| brown | #a52a2a | 7.8 |
| firebrick | #b22222 | 8.4 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| amber-700 | #bb4d00 | 5.7 |
| amber-800 | #973c00 | 5.8 |
| yellow-700 | #a65f00 | 5.8 |
Code snippets
.element {
color: sienna;
background-color: #a0522d;
border-color: rgb(160 82 45);
outline-color: oklch(52.6% 0.115 44.6);
}<div class="bg-[#a0522d] text-white">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-sienna: #a0522d;
}
/* then use bg-sienna, text-sienna, border-sienna */import SwiftUI
extension Color {
static let sienna = Color(red: 0.627, green: 0.322, blue: 0.176)
}import androidx.compose.ui.graphics.Color
val Sienna = Color(0xFFA0522D)import 'package:flutter/material.dart';
const sienna = Color(0xFFA0522D);<!-- res/values/colors.xml -->
<color name="sienna">#A0522D</color>Frequently asked questions
- What is the hex code for sienna?
- The hex code for sienna is #A0522D. The same color is rgb(160, 82, 45), hsl(19, 56%, 40%) and oklch(52.6% 0.115 44.6), and in CSS you can also write the keyword sienna directly.
- Is sienna a warm or cool color?
- Sienna is a warm color: its hue is 19° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with sienna?
- Rotating the hue in OKLCH while keeping lightness and chroma, sienna's complementary color is #00779C (close to teal), its analogous colors are #A24B56 and #915F00, and its triadic partners are #007F59 and #6460AA. For text on top, white gives the higher contrast.
- Can you use white text on sienna?
- White text on sienna has a contrast ratio of 5.61:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.73:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −82.9 for white and Lc 26.4 for black.
- What is the RGB value of sienna?
- Sienna is rgb(160, 82, 45): red 160, green 82 and blue 45 on the 0 to 255 scale, or 62.7%, 32.2% and 17.6%. As a decimal integer it is 10506797.
Last reviewed by Arielton Oberek.