#5F171F#5F171F
#5F171F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 18.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5F171F |
|---|---|
| RGB | rgb(95, 23, 31) |
| HSL | hsl(353, 61%, 23%) |
| HSV | hsv(353, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 67.4%, 62.7%) |
| CIE-LAB | lab(20.62, 32.87, 13.89) |
| CIE-LCH | lch(20.62, 35.68, 22.90°) |
| OKLab | oklab(32.84% 0.0977 0.0334) |
| OKLCH | oklch(32.84% 0.103 18.9) |
| XYZ | xyz(5.2736, 3.1454, 1.6255) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.69
Maroon (survey)
#650021
ΔE00 4.42
Burgundy (survey)
#610023
ΔE00 5.40
Rosewood
#65000B
ΔE00 5.90
Wine Red
#7B0323
ΔE00 5.98
Dried Blood
#4B0101
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F171F #175F57
analogous
#5F1743 #5F171F #5F3317
triadic
#5F171F #1F5F17 #171F5F
tetradic
#5F171F #435F17 #175F57 #33175F
square
#5F171F #435F17 #175F57 #33175F
split-complementary
#5F171F #175F33 #17435F
monochromatic
#190608 #2E0B0F #5F171F #90232F #C22F3F
Accessibility & contrast
On white
12.89
#5F171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F171F
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F171F | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3D371D
Tritanopia (blue-blind)
#69031A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f171f; /* rgb */ color: rgb(95, 23, 31); /* oklch */ color: oklch(32.8% 0.103 18.9);
Tailwind
colors: {
custom: {
50: '#925a5a',
500: '#5f171f',
950: '#000000',
},
}SCSS
$custom: #5f171f; $custom-light: #925a5a; $custom-dark: #000000;
JSON
{
"hex": "#5f171f",
"rgb": {
"r": 95,
"g": 23,
"b": 31
},
"hsl": {
"h": 353.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.32844,
"c": 0.10326,
"h": 18.9
},
"luminance": 0.03145
}Semantic roles & 50–950 ramp
primary
#5F171F
secondary
#3C968C
accent
#E4D244
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978