#5F1817#5F1817
#5F1817 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 25.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1817 |
|---|---|
| RGB | rgb(95, 24, 23) |
| HSL | hsl(1, 61%, 23%) |
| HSV | hsv(1, 76%, 37%) |
| CMYK | cmyk(0%, 74.7%, 75.8%, 62.7%) |
| CIE-LAB | lab(20.63, 31.94, 19.35) |
| CIE-LCH | lch(20.63, 37.34, 31.20°) |
| OKLab | oklab(32.81% 0.0929 0.0444) |
| OKLCH | oklch(32.81% 0.103 25.5) |
| XYZ | xyz(5.2012, 3.1488, 1.1444) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.75
Claret
#680018
ΔE00 4.69
Dried Blood
#4B0101
ΔE00 5.29
Mahogany
#4A0100
ΔE00 5.45
Reddy Brown
#6E1005
ΔE00 6.09
Deep Brown
#410200
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1817 #175E5F
analogous
#5F173A #5F1817 #5F3C17
triadic
#5F1817 #175F18 #18175F
tetradic
#5F1817 #3A5F17 #175E5F #3C175F
square
#5F1817 #3A5F17 #175E5F #3C175F
split-complementary
#5F1817 #175F3C #173A5F
monochromatic
#190606 #2E0C0B #5F1817 #902423 #C2312F
Accessibility & contrast
On white
12.89
#5F1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1817
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1817 | 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)
#2C2816
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#690319
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1817; /* rgb */ color: rgb(95, 24, 23); /* oklch */ color: oklch(32.8% 0.103 25.5);
Tailwind
colors: {
custom: {
50: '#935a54',
500: '#5f1817',
950: '#000000',
},
}SCSS
$custom: #5f1817; $custom-light: #935a54; $custom-dark: #000000;
JSON
{
"hex": "#5f1817",
"rgb": {
"r": 95,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.32808,
"c": 0.10295,
"h": 25.5
},
"luminance": 0.03148
}Semantic roles & 50–950 ramp
primary
#5F1817
secondary
#3C9496
accent
#E2E444
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978