#5F1012#5F1012
#5F1012 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.9% C 0.111 H 25.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1012 |
|---|---|
| RGB | rgb(95, 16, 18) |
| HSL | hsl(358, 71%, 22%) |
| HSV | hsv(358, 83%, 37%) |
| CMYK | cmyk(0%, 83.2%, 81.1%, 62.7%) |
| CIE-LAB | lab(19.42, 34.84, 21.22) |
| CIE-LCH | lch(19.42, 40.79, 31.35°) |
| OKLab | oklab(31.89% 0.1008 0.0474) |
| OKLCH | oklch(31.89% 0.111 25.2) |
| XYZ | xyz(5.0144, 2.8479, 0.8578) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 2.37
Claret
#680018
ΔE00 4.16
Dried Blood
#4B0101
ΔE00 4.56
Mahogany
#4A0100
ΔE00 4.74
Reddy Brown
#6E1005
ΔE00 5.57
Deep Brown
#410200
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1012 #105F5D
analogous
#5F103A #5F1012 #5F3610
triadic
#5F1012 #125F10 #10125F
tetradic
#5F1012 #3A5F10 #105F5D #36105F
square
#5F1012 #3A5F10 #105F5D #36105F
split-complementary
#5F1012 #105F36 #103A5F
monochromatic
#1A0405 #2B0708 #5F1012 #93191C #C82226
Accessibility & contrast
On white
13.38
#5F1012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5F1012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1012
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1012 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282411
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#690012
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f1012; /* rgb */ color: rgb(95, 16, 18); /* oklch */ color: oklch(31.9% 0.111 25.2);
Tailwind
colors: {
custom: {
50: '#935750',
500: '#5f1012',
950: '#000000',
},
}SCSS
$custom: #5f1012; $custom-light: #935750; $custom-dark: #000000;
JSON
{
"hex": "#5f1012",
"rgb": {
"r": 95,
"g": 16,
"b": 18
},
"hsl": {
"h": 358.481,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.31886,
"c": 0.11141,
"h": 25.2
},
"luminance": 0.02847
}Semantic roles & 50–950 ramp
primary
#5F1012
secondary
#339895
accent
#EEE93A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878