#5F161F#5F161F
#5F161F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 18.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F161F |
|---|---|
| RGB | rgb(95, 22, 31) |
| HSL | hsl(353, 62%, 23%) |
| HSV | hsv(353, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 67.4%, 62.7%) |
| CIE-LAB | lab(20.47, 33.29, 13.69) |
| CIE-LCH | lch(20.47, 36.00, 22.35°) |
| OKLab | oklab(32.73% 0.0991 0.033) |
| OKLCH | oklch(32.73% 0.104 18.4) |
| XYZ | xyz(5.2541, 3.1064, 1.6190) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.60
Maroon (survey)
#650021
ΔE00 4.15
Burgundy (survey)
#610023
ΔE00 5.13
Wine Red
#7B0323
ΔE00 5.90
Rosewood
#65000B
ΔE00 5.99
Dried Blood
#4B0101
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F161F #165F56
analogous
#5F1643 #5F161F #5F3116
triadic
#5F161F #1F5F16 #161F5F
tetradic
#5F161F #435F16 #165F56 #31165F
square
#5F161F #435F16 #165F56 #31165F
split-complementary
#5F161F #165F31 #16435F
monochromatic
#190608 #2D0A0F #5F161F #91222F #C22D3F
Accessibility & contrast
On white
12.95
#5F161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F161F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F161F | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#69021A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f161f; /* rgb */ color: rgb(95, 22, 31); /* oklch */ color: oklch(32.7% 0.104 18.4);
Tailwind
colors: {
custom: {
50: '#92595a',
500: '#5f161f',
950: '#000000',
},
}SCSS
$custom: #5f161f; $custom-light: #92595a; $custom-dark: #000000;
JSON
{
"hex": "#5f161f",
"rgb": {
"r": 95,
"g": 22,
"b": 31
},
"hsl": {
"h": 352.603,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.32731,
"c": 0.10439,
"h": 18.4
},
"luminance": 0.03106
}Semantic roles & 50–950 ramp
primary
#5F161F
secondary
#3B968B
accent
#E5D142
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978