#5F161C#5F161C
#5F161C is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.105 H 20.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F161C |
|---|---|
| RGB | rgb(95, 22, 28) |
| HSL | hsl(355, 62%, 23%) |
| HSV | hsv(355, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 70.5%, 62.7%) |
| CIE-LAB | lab(20.41, 33.09, 15.69) |
| CIE-LCH | lch(20.41, 36.62, 25.37°) |
| OKLab | oklab(32.67% 0.0977 0.0371) |
| OKLCH | oklch(32.67% 0.105 20.8) |
| XYZ | xyz(5.2164, 3.0913, 1.4204) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.40
Rosewood
#65000B
ΔE00 4.91
Maroon (survey)
#650021
ΔE00 5.15
Dried Blood
#4B0101
ΔE00 5.70
Mahogany
#4A0100
ΔE00 5.90
Wine Red
#7B0323
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F161C #165F59
analogous
#5F1641 #5F161C #5F3416
triadic
#5F161C #1C5F16 #161C5F
tetradic
#5F161C #415F16 #165F59 #34165F
square
#5F161C #415F16 #165F59 #34165F
split-complementary
#5F161C #165F34 #16415F
monochromatic
#190607 #2D0A0D #5F161C #91222B #C22D39
Accessibility & contrast
On white
12.98
#5F161C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F161C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F161C
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F161C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F161C | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271C
Deuteranopia (green-blind)
#3D371A
Tritanopia (blue-blind)
#690119
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f161c; /* rgb */ color: rgb(95, 22, 28); /* oklch */ color: oklch(32.7% 0.105 20.8);
Tailwind
colors: {
custom: {
50: '#925958',
500: '#5f161c',
950: '#000000',
},
}SCSS
$custom: #5f161c; $custom-light: #925958; $custom-dark: #000000;
JSON
{
"hex": "#5f161c",
"rgb": {
"r": 95,
"g": 22,
"b": 28
},
"hsl": {
"h": 355.068,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.32668,
"c": 0.10455,
"h": 20.8
},
"luminance": 0.03091
}Semantic roles & 50–950 ramp
primary
#5F161C
secondary
#3B968F
accent
#E5D842
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978