#5A221B#5A221B
#5A221B is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.4% C 0.084 H 29.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5A221B |
|---|---|
| RGB | rgb(90, 34, 27) |
| HSL | hsl(7, 54%, 23%) |
| HSV | hsv(7, 70%, 35%) |
| CMYK | cmyk(0%, 62.2%, 70%, 64.7%) |
| CIE-LAB | lab(21.57, 25.24, 17.59) |
| CIE-LCH | lch(21.57, 30.77, 34.87°) |
| OKLab | oklab(33.35% 0.0734 0.0414) |
| OKLCH | oklch(33.35% 0.084 29.4) |
| XYZ | xyz(4.9868, 3.3975, 1.4299) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 6.61
Dried Blood
#4B0101
ΔE00 6.83
Mahogany
#4A0100
ΔE00 6.91
Reddy Brown
#6E1005
ΔE00 7.31
Claret
#680018
ΔE00 7.59
Deep Brown
#410200
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A221B #1B535A
analogous
#5A1B33 #5A221B #5A411B
triadic
#5A221B #1B5A22 #221B5A
tetradic
#5A221B #335A1B #1B535A #411B5A
square
#5A221B #335A1B #1B535A #411B5A
split-complementary
#5A221B #1B5A41 #1B335A
monochromatic
#180907 #2B100D #5A221B #893429 #B84637
Accessibility & contrast
On white
12.50
#5A221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#5A221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A221B
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A221B | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312C1A
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#631721
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5a221b; /* rgb */ color: rgb(90, 34, 27); /* oklch */ color: oklch(33.4% 0.084 29.4);
Tailwind
colors: {
custom: {
50: '#8d5f57',
500: '#5a221b',
950: '#000000',
},
}SCSS
$custom: #5a221b; $custom-light: #8d5f57; $custom-dark: #000000;
JSON
{
"hex": "#5a221b",
"rgb": {
"r": 90,
"g": 34,
"b": 27
},
"hsl": {
"h": 6.667,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.3335,
"c": 0.08431,
"h": 29.4
},
"luminance": 0.03397
}Semantic roles & 50–950 ramp
primary
#5A221B
secondary
#418790
accent
#CDDD4B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978