CSS named color
Sienna #A0522D
The CSS keyword sienna is #A0522D. It is a soft brown in the brown family. In OKLCH it sits at lightness 0.526, chroma 0.115 and hue 44.6°.
- Relative luminance
- 0.1370
- OKLCH L · C · h
- 0.526 · 0.115 · 44.6
- Best text
- White 5.61:1
- Hue family
- Brown
#A0522D color codes
- HEX
#A0522D- RGB
rgb(160, 82, 45)- HSL
hsl(19, 56%, 40%)- OKLCH
oklch(0.526 0.115 44.6)- OKLab
oklab(0.526 0.082 0.081)- CIELAB (D65)
L* 43.80, a* 29.32, b* 35.64- XYZ (D65)
X 17.99, Y 13.70, Z 4.18- CMYK (naive)
cmyk(0%, 49%, 72%, 37%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #A0522D accessible?
White text on it reaches 5.61:1, passing AA. Black text manages only 3.73:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
3.73:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +26
-
White text on it
5.61:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −82
-
As text on black
3.73:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −24
-
As text on white
5.61:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +77
Nearest versions that pass 4.5:1
-
For text on white
#A0522D 5.61:1
It already reaches 5.61:1 on white, so no change is needed.
-
For text on black
#AF5F3A 4.52:1
Lightening its OKLCH lightness from 0.53 to 0.57 reaches 4.52:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #A0522D live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #A0522D
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #A0522D sits at step 600.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #A0522D can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.152; #A0522D uses 76% of it. Display P3, which many recent phones and laptops show, reaches 0.172 there: 13% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.115
- sRGB edge
- 0.152
- Display P3 edge
- 0.172
- Rec. 2020 edge
- 0.173
- Dominant wavelength
- 593 nm
- Excitation purity
- 68%
- Chromaticity
- x 0.5015, y 0.3819
- This color#A0522D
- Most vivid in sRGB#AE4600
- Most vivid in Display P3oklch(0.526 0.172 44.6)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #a0522d;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.66 0.2727 0); }
}
Mixing
Mixing #A0522D
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#D0A996
- OKLab50%#D2A794
- OKLCH50%#D2A794
Black #000000
- sRGB50%#502917
- OKLab50%#3B1A0B
- OKLCH50%#3B1A0B
Its complement #007695
- sRGB50%#506461
- OKLab50%#6F6967
- OKLCH50%#4F7835
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a0522d, white);
color: color-mix(in oklch, #a0522d 50%, white);
In use
#A0522D in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:15.61:1 Passes
- Link and body-size textText, 4.5:15.61:1 Passes
- Large headingLarge text, 3:15.61:1 Passes
- Icons, borders and focus ringsNon-text, 3:15.61:1 Passes
Dark page
- Button labelText, 4.5:15.61:1 Passes
- Link and body-size textText, 4.5:13.33:1 Fails
- Large headingLarge text, 3:13.33:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.33:1 Passes
For text on this page, the nearest shade that passes is #B96843 4.57:1
Color vision
How #A0522D looks with color blindness
Deuteranopia changes it most, ΔE2000 24.1; tritanopia changes it least, 15.0.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#675D29 ΔE2000 23.2
Distinct
Reads as dark muted brown
-
Deuteranopia
No working green (medium-wavelength) cones
#7A6E2C ΔE2000 24.1
Distinct
Reads as muted brown
-
Tritanopia
No working blue (short-wavelength) cones
#AF424A ΔE2000 15.0
Distinct
Reads as soft red
-
Achromatopsia
No cone color vision; lightness only
#676767 ΔE2000 23.5
Distinct
Reads as gray
Pairing check
Checked against its complement, #007695. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #A0522D · #007695 | 45.9 | Stays distinct |
| Protanopia | #675D29 · #657397 | 36.8 | Stays distinct |
| Deuteranopia | #7A6E2C · #536795 | 41.5 | Stays distinct |
| Tritanopia | #AF424A · #007F80 | 51.0 | Stays distinct |
| Achromatopsia | #676767 · #6C6C6C | 1.9 | Easily confused |
Harmony
Color harmonies for #A0522D
Its complement is #007695, a muted blue, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#A0522D
- Complement#007695
Complementary
Open in Harmony Studio- −30°#A24B56
- Base#A0522D
- +30°#905F00
Analogous
Open in Harmony Studio- Base#A0522D
- +120°#007E5A
- +240°#6460AA
Triadic
Open in Harmony Studio- Base#A0522D
- +150°#007B7A
- +210°#386CAC
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-sienna: #a0522d;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
sienna: '#a0522d',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-sienna: oklch(0.526 0.115 44.6);
}
{
"color": {
"sienna": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6275, 0.3216, 0.1765],
"hex": "#a0522d"
},
"$description": "CSS named color sienna"
}
}
}
import SwiftUI
enum Palette {
static let sienna = Color(.sRGB, red: 0.627, green: 0.322, blue: 0.176, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Sienna = Color(0xFFA0522D)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #A0522D in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.