#5F170C#5F170C
#5F170C is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.106 H 31.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5F170C |
|---|---|
| RGB | rgb(95, 23, 12) |
| HSL | hsl(8, 78%, 21%) |
| HSV | hsv(8, 87%, 37%) |
| CMYK | cmyk(0%, 75.8%, 87.4%, 62.7%) |
| CIE-LAB | lab(20.33, 31.89, 25.44) |
| CIE-LCH | lch(20.33, 40.79, 38.58°) |
| OKLab | oklab(32.54% 0.0902 0.0555) |
| OKLCH | oklch(32.54% 0.106 31.6) |
| XYZ | xyz(5.0927, 3.0730, 0.6728) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.61
Rosewood
#65000B
ΔE00 4.46
Blood
#770001
ΔE00 5.66
Dried Blood
#4B0101
ΔE00 6.33
Mahogany
#4A0100
ΔE00 6.41
Maroon
#800000
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F170C #0C545F
analogous
#5F0C2A #5F170C #5F400C
triadic
#5F170C #0C5F17 #170C5F
tetradic
#5F170C #2A5F0C #0C545F #400C5F
square
#5F170C #2A5F0C #0C545F #400C5F
split-complementary
#5F170C #0C5F40 #0C2A5F
monochromatic
#1B0703 #290A05 #5F170C #952413 #CC311A
Accessibility & contrast
On white
13.01
#5F170C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F170C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F170C
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F170C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F170C | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C270A
Deuteranopia (green-blind)
#3E3708
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f170c; /* rgb */ color: rgb(95, 23, 12); /* oklch */ color: oklch(32.5% 0.106 31.6);
Tailwind
colors: {
custom: {
50: '#935a4c',
500: '#5f170c',
950: '#000000',
},
}SCSS
$custom: #5f170c; $custom-light: #935a4c; $custom-dark: #000000;
JSON
{
"hex": "#5f170c",
"rgb": {
"r": 95,
"g": 23,
"b": 12
},
"hsl": {
"h": 7.952,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.32542,
"c": 0.1059,
"h": 31.6
},
"luminance": 0.03072
}Semantic roles & 50–950 ramp
primary
#5F170C
secondary
#2D8B99
accent
#DBF434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977