#5B161F#5B161F
#5B161F is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.100 H 17.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5B161F |
|---|---|
| RGB | rgb(91, 22, 31) |
| HSL | hsl(352, 61%, 22%) |
| HSV | hsv(352, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 65.9%, 64.3%) |
| CIE-LAB | lab(19.63, 31.87, 12.44) |
| CIE-LCH | lch(19.63, 34.21, 21.33°) |
| OKLab | oklab(31.96% 0.0951 0.0302) |
| OKLCH | oklch(31.96% 0.1 17.6) |
| XYZ | xyz(4.8491, 2.8976, 1.6000) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.25
Claret
#680018
ΔE00 4.37
Burgundy (survey)
#610023
ΔE00 4.92
Dried Blood
#4B0101
ΔE00 6.31
Mahogany
#4A0100
ΔE00 6.48
Rosewood
#65000B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B161F #165B52
analogous
#5B1642 #5B161F #5B3016
triadic
#5B161F #1F5B16 #161F5B
tetradic
#5B161F #425B16 #165B52 #30165B
square
#5B161F #425B16 #165B52 #30165B
split-complementary
#5B161F #165B30 #16425B
monochromatic
#190608 #2A0A0E #5B161F #8C2230 #BE2E41
Accessibility & contrast
On white
13.30
#5B161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5B161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B161F
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B161F | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#64041A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b161f; /* rgb */ color: rgb(91, 22, 31); /* oklch */ color: oklch(32.0% 0.100 17.6);
Tailwind
colors: {
custom: {
50: '#8f595a',
500: '#5b161f',
950: '#000000',
},
}SCSS
$custom: #5b161f; $custom-light: #8f595a; $custom-dark: #000000;
JSON
{
"hex": "#5b161f",
"rgb": {
"r": 91,
"g": 22,
"b": 31
},
"hsl": {
"h": 352.174,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.31956,
"c": 0.09976,
"h": 17.6
},
"luminance": 0.02897
}Semantic roles & 50–950 ramp
primary
#5B161F
secondary
#3B9287
accent
#E4CF44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978