#5F1712#5F1712
#5F1712 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 28.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1712 |
|---|---|
| RGB | rgb(95, 23, 18) |
| HSL | hsl(4, 68%, 22%) |
| HSV | hsv(4, 81%, 37%) |
| CMYK | cmyk(0%, 75.8%, 81.1%, 62.7%) |
| CIE-LAB | lab(20.40, 32.12, 22.33) |
| CIE-LCH | lch(20.40, 39.12, 34.80°) |
| OKLab | oklab(32.61% 0.0923 0.0497) |
| OKLCH | oklch(32.61% 0.105 28.3) |
| XYZ | xyz(5.1355, 3.0901, 0.8982) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.53
Reddy Brown
#6E1005
ΔE00 4.64
Dried Blood
#4B0101
ΔE00 5.45
Mahogany
#4A0100
ΔE00 5.58
Claret
#680018
ΔE00 5.90
Blood
#770001
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1712 #125A5F
analogous
#5F1234 #5F1712 #5F3E12
triadic
#5F1712 #125F17 #17125F
tetradic
#5F1712 #345F12 #125A5F #3E125F
square
#5F1712 #345F12 #125A5F #3E125F
split-complementary
#5F1712 #125F3E #12345F
monochromatic
#1A0605 #2C0B08 #5F1712 #92231C #C63025
Accessibility & contrast
On white
12.98
#5F1712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1712
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1712 | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1712; /* rgb */ color: rgb(95, 23, 18); /* oklch */ color: oklch(32.6% 0.105 28.3);
Tailwind
colors: {
custom: {
50: '#935a50',
500: '#5f1712',
950: '#000000',
},
}SCSS
$custom: #5f1712; $custom-light: #935a50; $custom-dark: #000000;
JSON
{
"hex": "#5f1712",
"rgb": {
"r": 95,
"g": 23,
"b": 18
},
"hsl": {
"h": 3.896,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32614,
"c": 0.10481,
"h": 28.3
},
"luminance": 0.03089
}Semantic roles & 50–950 ramp
primary
#5F1712
secondary
#369197
accent
#E0EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978