#5A1F0E#5A1F0E
#5A1F0E is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.091 H 36.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1F0E |
|---|---|
| RGB | rgb(90, 31, 14) |
| HSL | hsl(13, 73%, 20%) |
| HSV | hsv(13, 84%, 35%) |
| CMYK | cmyk(0%, 65.6%, 84.4%, 64.7%) |
| CIE-LAB | lab(20.77, 26.13, 24.68) |
| CIE-LCH | lch(20.77, 35.95, 43.37°) |
| OKLab | oklab(32.69% 0.0734 0.0544) |
| OKLCH | oklch(32.69% 0.091 36.5) |
| XYZ | xyz(4.7862, 3.1860, 0.7783) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.64
Chocolate Brown
#411900
ΔE00 6.25
Rosewood
#65000B
ΔE00 7.33
Chestnut
#742802
ΔE00 7.50
Blood
#770001
ΔE00 7.85
Dried Blood
#4B0101
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1F0E #0E495A
analogous
#5A0E23 #5A1F0E #5A450E
triadic
#5A1F0E #0E5A1F #1F0E5A
tetradic
#5A1F0E #235A0E #0E495A #450E5A
square
#5A1F0E #235A0E #0E495A #450E5A
split-complementary
#5A1F0E #0E5A45 #0E235A
monochromatic
#1A0904 #250D06 #5A1F0E #8F3116 #C4431E
Accessibility & contrast
On white
12.83
#5A1F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5A1F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1F0E
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1F0E | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#64101C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5a1f0e; /* rgb */ color: rgb(90, 31, 14); /* oklch */ color: oklch(32.7% 0.091 36.5);
Tailwind
colors: {
custom: {
50: '#8f5d4e',
500: '#5a1f0e',
950: '#000000',
},
}SCSS
$custom: #5a1f0e; $custom-light: #8f5d4e; $custom-dark: #000000;
JSON
{
"hex": "#5a1f0e",
"rgb": {
"r": 90,
"g": 31,
"b": 14
},
"hsl": {
"h": 13.421,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.32691,
"c": 0.0913,
"h": 36.5
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#5A1F0E
secondary
#307E94
accent
#C7F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977