Skip to content

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.

Sienna#A0522D

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

Color codes for Sienna
CSS keywordsienna
HEX#A0522D
RGBrgb(160, 82, 45)
HSLhsl(19, 56%, 40%)
HWBhwb(19 18% 37%)
OKLCHoklch(52.6% 0.115 44.6)
CMYK (naive, no ICC profile)cmyk(0%, 49%, 72%, 37%)
Decimal10,506,797
Hue familyBrowns 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on sienna3.73:1FailPassFailFail26.4
White text on sienna5.61:1PassPassFailPass−82.9
Sienna text on white5.61:1PassPassFailPass77.6
Sienna text on black3.73:1FailPassFailFail−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)

  1. 5%
    #a55b38
  2. 15%
    #ae6c4d
  3. 25%
    #b87d62
  4. 35%
    #c18f77
  5. 45%
    #cba08c
  6. 55%
    #d4b1a1
  7. 65%
    #dec2b6
  8. 75%
    #e7d4cb
  9. 85%
    #f1e5e0
  10. 95%
    #faf6f5

Shades (mixed with black)

  1. 5%
    #984e2b
  2. 15%
    #884626
  3. 25%
    #783e22
  4. 35%
    #68351d
  5. 45%
    #582d19
  6. 55%
    #482514
  7. 65%
    #381d10
  8. 75%
    #28150b
  9. 85%
    #180c07
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
saddlebrown#8b45135.7
brown#a52a2a7.8
firebrick#b222228.4

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
amber-700#bb4d005.7
amber-800#973c005.8
yellow-700#a65f005.8

Code snippets

CSS
.element {
  color: sienna;
  background-color: #a0522d;
  border-color: rgb(160 82 45);
  outline-color: oklch(52.6% 0.115 44.6);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let sienna = Color(red: 0.627, green: 0.322, blue: 0.176)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Sienna = Color(0xFFA0522D)
Flutter
import 'package:flutter/material.dart';

const sienna = Color(0xFFA0522D);
Android XML
<!-- 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.