#5B121E#5B121E
#5B121E is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 16.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5B121E |
|---|---|
| RGB | rgb(91, 18, 30) |
| HSL | hsl(350, 67%, 21%) |
| HSV | hsv(350, 80%, 36%) |
| CMYK | cmyk(0%, 80.2%, 67%, 64.3%) |
| CIE-LAB | lab(19.02, 33.43, 12.35) |
| CIE-LCH | lch(19.02, 35.64, 20.27°) |
| OKLab | oklab(31.5% 0.0999 0.0299) |
| OKLCH | oklch(31.5% 0.104 16.7) |
| XYZ | xyz(4.7655, 2.7512, 1.5081) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.57
Claret
#680018
ΔE00 4.05
Burgundy (survey)
#610023
ΔE00 4.24
Dried Blood
#4B0101
ΔE00 6.26
Mahogany
#4A0100
ΔE00 6.44
Wine Red
#7B0323
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B121E #125B4F
analogous
#5B1243 #5B121E #5B2B12
triadic
#5B121E #1E5B12 #121E5B
tetradic
#5B121E #435B12 #125B4F #2B125B
square
#5B121E #435B12 #125B4F #2B125B
split-complementary
#5B121E #125B2B #12435B
monochromatic
#1A0508 #28080D #5B121E #8E1C2F #C12640
Accessibility & contrast
On white
13.55
#5B121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B121E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B121E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26241E
Deuteranopia (green-blind)
#39341C
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b121e; /* rgb */ color: rgb(91, 18, 30); /* oklch */ color: oklch(31.5% 0.104 16.7);
Tailwind
colors: {
custom: {
50: '#8f5759',
500: '#5b121e',
950: '#000000',
},
}SCSS
$custom: #5b121e; $custom-light: #8f5759; $custom-dark: #000000;
JSON
{
"hex": "#5b121e",
"rgb": {
"r": 91,
"g": 18,
"b": 30
},
"hsl": {
"h": 350.137,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.31495,
"c": 0.10424,
"h": 16.7
},
"luminance": 0.0275
}Semantic roles & 50–950 ramp
primary
#5B121E
secondary
#359384
accent
#EACE3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878