#5F2117#5F2117
#5F2117 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.093 H 31.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2117 |
|---|---|
| RGB | rgb(95, 33, 23) |
| HSL | hsl(8, 61%, 23%) |
| HSV | hsv(8, 76%, 37%) |
| CMYK | cmyk(0%, 65.3%, 75.8%, 62.7%) |
| CIE-LAB | lab(22.24, 27.59, 21.22) |
| CIE-LCH | lch(22.24, 34.81, 37.56°) |
| OKLab | oklab(34.02% 0.0793 0.0485) |
| OKLCH | oklch(34.02% 0.093 31.5) |
| XYZ | xyz(5.4184, 3.5832, 1.2168) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.46
Rosewood
#65000B
ΔE00 5.87
Dried Blood
#4B0101
ΔE00 7.19
Mahogany
#4A0100
ΔE00 7.28
Blood
#770001
ΔE00 7.41
Claret
#680018
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2117 #17555F
analogous
#5F1731 #5F2117 #5F4517
triadic
#5F2117 #175F21 #21175F
tetradic
#5F2117 #315F17 #17555F #45175F
square
#5F2117 #315F17 #17555F #45175F
split-complementary
#5F2117 #175F45 #17315F
monochromatic
#190906 #2E100B #5F2117 #903223 #C2432F
Accessibility & contrast
On white
12.23
#5F2117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#5F2117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2117
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2117 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#322D16
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#69131F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f2117; /* rgb */ color: rgb(95, 33, 23); /* oklch */ color: oklch(34.0% 0.093 31.5);
Tailwind
colors: {
custom: {
50: '#925f54',
500: '#5f2117',
950: '#000000',
},
}SCSS
$custom: #5f2117; $custom-light: #925f54; $custom-dark: #000000;
JSON
{
"hex": "#5f2117",
"rgb": {
"r": 95,
"g": 33,
"b": 23
},
"hsl": {
"h": 8.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.34019,
"c": 0.09292,
"h": 31.5
},
"luminance": 0.03582
}Semantic roles & 50–950 ramp
primary
#5F2117
secondary
#3C8996
accent
#CEE444
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978