#5F1213#5F1213
#5F1213 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 25.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1213 |
|---|---|
| RGB | rgb(95, 18, 19) |
| HSL | hsl(359, 68%, 22%) |
| HSV | hsv(359, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 80%, 62.7%) |
| CIE-LAB | lab(19.69, 34.17, 20.91) |
| CIE-LCH | lch(19.69, 40.06, 31.46°) |
| OKLab | oklab(32.09% 0.099 0.0469) |
| OKLCH | oklch(32.09% 0.11 25.3) |
| XYZ | xyz(5.0538, 2.9133, 0.9122) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 2.65
Claret
#680018
ΔE00 4.29
Dried Blood
#4B0101
ΔE00 4.69
Mahogany
#4A0100
ΔE00 4.87
Reddy Brown
#6E1005
ΔE00 5.59
Deep Brown
#410200
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1213 #125F5E
analogous
#5F123A #5F1213 #5F3812
triadic
#5F1213 #135F12 #12135F
tetradic
#5F1213 #3A5F12 #125F5E #38125F
square
#5F1213 #3A5F12 #125F5E #38125F
split-complementary
#5F1213 #125F38 #123A5F
monochromatic
#1A0505 #2C0809 #5F1213 #921C1D #C62528
Accessibility & contrast
On white
13.27
#5F1213 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1213 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1213
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1213 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1213 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292512
Deuteranopia (green-blind)
#3C3610
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1213; /* rgb */ color: rgb(95, 18, 19); /* oklch */ color: oklch(32.1% 0.110 25.3);
Tailwind
colors: {
custom: {
50: '#935750',
500: '#5f1213',
950: '#000000',
},
}SCSS
$custom: #5f1213; $custom-light: #935750; $custom-dark: #000000;
JSON
{
"hex": "#5f1213",
"rgb": {
"r": 95,
"g": 18,
"b": 19
},
"hsl": {
"h": 359.221,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.3209,
"c": 0.1095,
"h": 25.3
},
"luminance": 0.02913
}Semantic roles & 50–950 ramp
primary
#5F1213
secondary
#369796
accent
#EBE93D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878