#5F121E#5F121E
#5F121E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 17.5°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5F121E |
|---|---|
| RGB | rgb(95, 18, 30) |
| HSL | hsl(351, 68%, 22%) |
| HSV | hsv(351, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 68.4%, 62.7%) |
| CIE-LAB | lab(19.88, 34.78, 13.64) |
| CIE-LCH | lch(19.88, 37.36, 21.40°) |
| OKLab | oklab(32.29% 0.1036 0.0327) |
| OKLCH | oklch(32.29% 0.109 17.5) |
| XYZ | xyz(5.1705, 2.9600, 1.5271) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.20
Maroon (survey)
#650021
ΔE00 3.48
Burgundy (survey)
#610023
ΔE00 4.51
Wine Red
#7B0323
ΔE00 5.69
Rosewood
#65000B
ΔE00 5.98
Dried Blood
#4B0101
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F121E #125F53
analogous
#5F1245 #5F121E #5F2C12
triadic
#5F121E #1E5F12 #121E5F
tetradic
#5F121E #455F12 #125F53 #2C125F
square
#5F121E #455F12 #125F53 #2C125F
split-complementary
#5F121E #125F2C #12455F
monochromatic
#1A0508 #2C080E #5F121E #921C2E #C6253E
Accessibility & contrast
On white
13.19
#5F121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F121E
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F121E | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#3B361C
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f121e; /* rgb */ color: rgb(95, 18, 30); /* oklch */ color: oklch(32.3% 0.109 17.5);
Tailwind
colors: {
custom: {
50: '#925859',
500: '#5f121e',
950: '#000000',
},
}SCSS
$custom: #5f121e; $custom-light: #925859; $custom-dark: #000000;
JSON
{
"hex": "#5f121e",
"rgb": {
"r": 95,
"g": 18,
"b": 30
},
"hsl": {
"h": 350.649,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32292,
"c": 0.10865,
"h": 17.5
},
"luminance": 0.02959
}Semantic roles & 50–950 ramp
primary
#5F121E
secondary
#369788
accent
#EBD03D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978