#5A1B0E#5A1B0E
#5A1B0E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.096 H 33.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1B0E |
|---|---|
| RGB | rgb(90, 27, 14) |
| HSL | hsl(10, 73%, 20%) |
| HSV | hsv(10, 84%, 35%) |
| CMYK | cmyk(0%, 70%, 84.4%, 64.7%) |
| CIE-LAB | lab(20.00, 28.18, 23.82) |
| CIE-LCH | lch(20.00, 36.90, 40.21°) |
| OKLab | oklab(32.11% 0.0797 0.0527) |
| OKLCH | oklch(32.11% 0.096 33.4) |
| XYZ | xyz(4.6882, 2.9899, 0.7456) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.03
Rosewood
#65000B
ΔE00 5.82
Dried Blood
#4B0101
ΔE00 6.50
Mahogany
#4A0100
ΔE00 6.53
Chocolate Brown
#411900
ΔE00 6.94
Blood
#770001
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1B0E #0E4D5A
analogous
#5A0E27 #5A1B0E #5A410E
triadic
#5A1B0E #0E5A1B #1B0E5A
tetradic
#5A1B0E #275A0E #0E4D5A #410E5A
square
#5A1B0E #275A0E #0E4D5A #410E5A
split-complementary
#5A1B0E #0E5A41 #0E275A
monochromatic
#1A0804 #250B06 #5A1B0E #8F2B16 #C43B1E
Accessibility & contrast
On white
13.14
#5A1B0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A1B0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1B0E
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1B0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1B0E | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#3D350C
Tritanopia (blue-blind)
#640918
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a1b0e; /* rgb */ color: rgb(90, 27, 14); /* oklch */ color: oklch(32.1% 0.096 33.4);
Tailwind
colors: {
custom: {
50: '#8f5b4d',
500: '#5a1b0e',
950: '#000000',
},
}SCSS
$custom: #5a1b0e; $custom-light: #8f5b4d; $custom-dark: #000000;
JSON
{
"hex": "#5a1b0e",
"rgb": {
"r": 90,
"g": 27,
"b": 14
},
"hsl": {
"h": 10.263,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.3211,
"c": 0.09552,
"h": 33.4
},
"luminance": 0.02989
}Semantic roles & 50–950 ramp
primary
#5A1B0E
secondary
#308394
accent
#D0F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977