#5F1517#5F1517
#5F1517 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.5% C 0.106 H 24.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1517 |
|---|---|
| RGB | rgb(95, 21, 23) |
| HSL | hsl(358, 64%, 23%) |
| HSV | hsv(358, 78%, 37%) |
| CMYK | cmyk(0%, 77.9%, 75.8%, 62.7%) |
| CIE-LAB | lab(20.17, 33.20, 18.80) |
| CIE-LCH | lch(20.17, 38.16, 29.53°) |
| OKLab | oklab(32.46% 0.0969 0.0432) |
| OKLCH | oklch(32.46% 0.106 24) |
| XYZ | xyz(5.1427, 3.0319, 1.1249) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.50
Claret
#680018
ΔE00 3.89
Dried Blood
#4B0101
ΔE00 5.00
Mahogany
#4A0100
ΔE00 5.19
Reddy Brown
#6E1005
ΔE00 6.56
Deep Brown
#410200
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1517 #155F5D
analogous
#5F153C #5F1517 #5F3815
triadic
#5F1517 #175F15 #15175F
tetradic
#5F1517 #3C5F15 #155F5D #38155F
square
#5F1517 #3C5F15 #155F5D #38155F
split-complementary
#5F1517 #155F38 #153C5F
monochromatic
#190606 #2D0A0B #5F1517 #912023 #C32B2F
Accessibility & contrast
On white
13.07
#5F1517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F1517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1517
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1517 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2716
Deuteranopia (green-blind)
#3D3615
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1517; /* rgb */ color: rgb(95, 21, 23); /* oklch */ color: oklch(32.5% 0.106 24.0);
Tailwind
colors: {
custom: {
50: '#935954',
500: '#5f1517',
950: '#000000',
},
}SCSS
$custom: #5f1517; $custom-light: #935954; $custom-dark: #000000;
JSON
{
"hex": "#5f1517",
"rgb": {
"r": 95,
"g": 21,
"b": 23
},
"hsl": {
"h": 358.378,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.32465,
"c": 0.10608,
"h": 24
},
"luminance": 0.03031
}Semantic roles & 50–950 ramp
primary
#5F1517
secondary
#3A9694
accent
#E7E241
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978