#5F1313#5F1313
#5F1313 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 25.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1313 |
|---|---|
| RGB | rgb(95, 19, 19) |
| HSL | hsl(0, 67%, 22%) |
| HSV | hsv(0, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 80%, 62.7%) |
| CIE-LAB | lab(19.83, 33.79, 21.06) |
| CIE-LCH | lch(19.83, 39.82, 31.93°) |
| OKLab | oklab(32.19% 0.0978 0.0472) |
| OKLCH | oklch(32.19% 0.109 25.8) |
| XYZ | xyz(5.0703, 2.9464, 0.9177) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 2.76
Claret
#680018
ΔE00 4.53
Dried Blood
#4B0101
ΔE00 4.79
Mahogany
#4A0100
ΔE00 4.96
Reddy Brown
#6E1005
ΔE00 5.44
Blood
#770001
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1313 #135F5F
analogous
#5F1339 #5F1313 #5F3913
triadic
#5F1313 #135F13 #13135F
tetradic
#5F1313 #395F13 #135F5F #39135F
square
#5F1313 #395F13 #135F5F #39135F
split-complementary
#5F1313 #135F39 #13395F
monochromatic
#1A0505 #2C0909 #5F1313 #921D1D #C52727
Accessibility & contrast
On white
13.21
#5F1313 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1313 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1313
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1313 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2512
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1313; /* rgb */ color: rgb(95, 19, 19); /* oklch */ color: oklch(32.2% 0.109 25.8);
Tailwind
colors: {
custom: {
50: '#935850',
500: '#5f1313',
950: '#000000',
},
}SCSS
$custom: #5f1313; $custom-light: #935850; $custom-dark: #000000;
JSON
{
"hex": "#5f1313",
"rgb": {
"r": 95,
"g": 19,
"b": 19
},
"hsl": {
"h": 0,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32191,
"c": 0.10857,
"h": 25.8
},
"luminance": 0.02946
}Semantic roles & 50–950 ramp
primary
#5F1313
secondary
#379797
accent
#EAEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978