#5F121B#5F121B
#5F121B is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 19.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F121B |
|---|---|
| RGB | rgb(95, 18, 27) |
| HSL | hsl(353, 68%, 22%) |
| HSV | hsv(353, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 71.6%, 62.7%) |
| CIE-LAB | lab(19.82, 34.59, 15.65) |
| CIE-LCH | lch(19.82, 37.97, 24.34°) |
| OKLab | oklab(32.23% 0.1023 0.0369) |
| OKLCH | oklch(32.23% 0.109 19.8) |
| XYZ | xyz(5.1340, 2.9454, 1.3349) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.82
Maroon (survey)
#650021
ΔE00 4.52
Rosewood
#65000B
ΔE00 4.82
Dried Blood
#4B0101
ΔE00 5.55
Burgundy (survey)
#610023
ΔE00 5.70
Mahogany
#4A0100
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F121B #125F56
analogous
#5F1242 #5F121B #5F3012
triadic
#5F121B #1B5F12 #121B5F
tetradic
#5F121B #425F12 #125F56 #30125F
square
#5F121B #425F12 #125F56 #30125F
split-complementary
#5F121B #125F30 #12425F
monochromatic
#1A0507 #2C080C #5F121B #921C2A #C62538
Accessibility & contrast
On white
13.22
#5F121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F121B
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F121B | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f121b; /* rgb */ color: rgb(95, 18, 27); /* oklch */ color: oklch(32.2% 0.109 19.8);
Tailwind
colors: {
custom: {
50: '#935857',
500: '#5f121b',
950: '#000000',
},
}SCSS
$custom: #5f121b; $custom-light: #935857; $custom-dark: #000000;
JSON
{
"hex": "#5f121b",
"rgb": {
"r": 95,
"g": 18,
"b": 27
},
"hsl": {
"h": 352.987,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32229,
"c": 0.10874,
"h": 19.8
},
"luminance": 0.02945
}Semantic roles & 50–950 ramp
primary
#5F121B
secondary
#36978C
accent
#EBD73D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978