#5B1F0E#5B1F0E
#5B1F0E is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.093 H 36.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1F0E |
|---|---|
| RGB | rgb(91, 31, 14) |
| HSL | hsl(13, 73%, 21%) |
| HSV | hsv(13, 85%, 36%) |
| CMYK | cmyk(0%, 65.9%, 84.6%, 64.3%) |
| CIE-LAB | lab(20.97, 26.55, 24.95) |
| CIE-LCH | lch(20.97, 36.43, 43.23°) |
| OKLab | oklab(32.87% 0.0745 0.0548) |
| OKLCH | oklch(32.87% 0.093 36.3) |
| XYZ | xyz(4.8842, 3.2365, 0.7829) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.42
Chocolate Brown
#411900
ΔE00 6.48
Rosewood
#65000B
ΔE00 7.21
Chestnut
#742802
ΔE00 7.35
Blood
#770001
ΔE00 7.63
Dried Blood
#4B0101
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1F0E #0E4A5B
analogous
#5B0E23 #5B1F0E #5B450E
triadic
#5B1F0E #0E5B1F #1F0E5B
tetradic
#5B1F0E #235B0E #0E4A5B #450E5B
square
#5B1F0E #235B0E #0E4A5B #450E5B
split-complementary
#5B1F0E #0E5B45 #0E235B
monochromatic
#1B0904 #260D06 #5B1F0E #903116 #C5431E
Accessibility & contrast
On white
12.75
#5B1F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5B1F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1F0E
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1F0E | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#65101C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1f0e; /* rgb */ color: rgb(91, 31, 14); /* oklch */ color: oklch(32.9% 0.093 36.3);
Tailwind
colors: {
custom: {
50: '#8f5d4e',
500: '#5b1f0e',
950: '#000000',
},
}SCSS
$custom: #5b1f0e; $custom-light: #8f5d4e; $custom-dark: #000000;
JSON
{
"hex": "#5b1f0e",
"rgb": {
"r": 91,
"g": 31,
"b": 14
},
"hsl": {
"h": 13.247,
"s": 73.333,
"l": 20.588
},
"oklch": {
"l": 0.32874,
"c": 0.09253,
"h": 36.3
},
"luminance": 0.03236
}Semantic roles & 50–950 ramp
primary
#5B1F0E
secondary
#307F95
accent
#C7F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977