#5F1315#5F1315
#5F1315 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.108 H 24.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1315 |
|---|---|
| RGB | rgb(95, 19, 21) |
| HSL | hsl(358, 67%, 22%) |
| HSV | hsv(358, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 77.9%, 62.7%) |
| CIE-LAB | lab(19.86, 33.88, 19.78) |
| CIE-LCH | lch(19.86, 39.23, 30.27°) |
| OKLab | oklab(32.22% 0.0986 0.0449) |
| OKLCH | oklch(32.22% 0.108 24.5) |
| XYZ | xyz(5.0881, 2.9536, 1.0115) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.01
Claret
#680018
ΔE00 3.93
Dried Blood
#4B0101
ΔE00 4.77
Mahogany
#4A0100
ΔE00 4.96
Reddy Brown
#6E1005
ΔE00 6.14
Deep Brown
#410200
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1315 #135F5D
analogous
#5F133B #5F1315 #5F3713
triadic
#5F1315 #155F13 #13155F
tetradic
#5F1315 #3B5F13 #135F5D #37135F
square
#5F1315 #3B5F13 #135F5D #37135F
split-complementary
#5F1315 #135F37 #133B5F
monochromatic
#1A0506 #2C090A #5F1315 #921D20 #C5272C
Accessibility & contrast
On white
13.20
#5F1315 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1315 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1315
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1315 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2614
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1315; /* rgb */ color: rgb(95, 19, 21); /* oklch */ color: oklch(32.2% 0.108 24.5);
Tailwind
colors: {
custom: {
50: '#935852',
500: '#5f1315',
950: '#000000',
},
}SCSS
$custom: #5f1315; $custom-light: #935852; $custom-dark: #000000;
JSON
{
"hex": "#5f1315",
"rgb": {
"r": 95,
"g": 19,
"b": 21
},
"hsl": {
"h": 358.421,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32221,
"c": 0.10831,
"h": 24.5
},
"luminance": 0.02953
}Semantic roles & 50–950 ramp
primary
#5F1315
secondary
#379794
accent
#EAE53E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978