#5F161B#5F161B
#5F161B is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 21.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5F161B |
|---|---|
| RGB | rgb(95, 22, 27) |
| HSL | hsl(356, 62%, 23%) |
| HSV | hsv(356, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 71.6%, 62.7%) |
| CIE-LAB | lab(20.39, 33.03, 16.35) |
| CIE-LCH | lch(20.39, 36.85, 26.34°) |
| OKLab | oklab(32.65% 0.0973 0.0385) |
| OKLCH | oklch(32.65% 0.105 21.6) |
| XYZ | xyz(5.2046, 3.0866, 1.3584) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.45
Rosewood
#65000B
ΔE00 4.58
Maroon (survey)
#650021
ΔE00 5.51
Dried Blood
#4B0101
ΔE00 5.51
Mahogany
#4A0100
ΔE00 5.71
Wine Red
#7B0323
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F161B #165F5A
analogous
#5F163F #5F161B #5F3516
triadic
#5F161B #1B5F16 #161B5F
tetradic
#5F161B #3F5F16 #165F5A #35165F
square
#5F161B #3F5F16 #165F5A #35165F
split-complementary
#5F161B #165F35 #163F5F
monochromatic
#190607 #2D0A0D #5F161B #912229 #C22D37
Accessibility & contrast
On white
12.99
#5F161B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F161B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F161B
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F161B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F161B | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f161b; /* rgb */ color: rgb(95, 22, 27); /* oklch */ color: oklch(32.6% 0.105 21.6);
Tailwind
colors: {
custom: {
50: '#925957',
500: '#5f161b',
950: '#000000',
},
}SCSS
$custom: #5f161b; $custom-light: #925957; $custom-dark: #000000;
JSON
{
"hex": "#5f161b",
"rgb": {
"r": 95,
"g": 22,
"b": 27
},
"hsl": {
"h": 355.89,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.32648,
"c": 0.10462,
"h": 21.6
},
"luminance": 0.03086
}Semantic roles & 50–950 ramp
primary
#5F161B
secondary
#3B9690
accent
#E5DA42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978