#5F170D#5F170D
#5F170D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.106 H 31.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5F170D |
|---|---|
| RGB | rgb(95, 23, 13) |
| HSL | hsl(7, 76%, 21%) |
| HSV | hsv(7, 86%, 37%) |
| CMYK | cmyk(0%, 75.8%, 86.3%, 62.7%) |
| CIE-LAB | lab(20.34, 31.92, 24.98) |
| CIE-LCH | lch(20.34, 40.53, 38.04°) |
| OKLab | oklab(32.55% 0.0905 0.0546) |
| OKLCH | oklch(32.55% 0.106 31.1) |
| XYZ | xyz(5.0990, 3.0755, 0.7058) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.71
Rosewood
#65000B
ΔE00 4.28
Blood
#770001
ΔE00 5.71
Dried Blood
#4B0101
ΔE00 6.17
Mahogany
#4A0100
ΔE00 6.26
Maroon
#800000
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F170D #0D555F
analogous
#5F0D2C #5F170D #5F400D
triadic
#5F170D #0D5F17 #170D5F
tetradic
#5F170D #2C5F0D #0D555F #400D5F
square
#5F170D #2C5F0D #0D555F #400D5F
split-complementary
#5F170D #0D5F40 #0D2C5F
monochromatic
#1B0704 #290A06 #5F170D #952414 #CB311C
Accessibility & contrast
On white
13.00
#5F170D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F170D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F170D
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F170D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F170D | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C270B
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f170d; /* rgb */ color: rgb(95, 23, 13); /* oklch */ color: oklch(32.6% 0.106 31.1);
Tailwind
colors: {
custom: {
50: '#935a4d',
500: '#5f170d',
950: '#000000',
},
}SCSS
$custom: #5f170d; $custom-light: #935a4d; $custom-dark: #000000;
JSON
{
"hex": "#5f170d",
"rgb": {
"r": 95,
"g": 23,
"b": 13
},
"hsl": {
"h": 7.317,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.32553,
"c": 0.10572,
"h": 31.1
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#5F170D
secondary
#2F8C99
accent
#DBF335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977