#5B121F#5B121F
#5B121F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 15.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5B121F |
|---|---|
| RGB | rgb(91, 18, 31) |
| HSL | hsl(349, 67%, 21%) |
| HSV | hsv(349, 80%, 36%) |
| CMYK | cmyk(0%, 80.2%, 65.9%, 64.3%) |
| CIE-LAB | lab(19.04, 33.50, 11.67) |
| CIE-LCH | lch(19.04, 35.48, 19.20°) |
| OKLab | oklab(31.52% 0.1003 0.0284) |
| OKLCH | oklch(31.52% 0.104 15.8) |
| XYZ | xyz(4.7785, 2.7564, 1.5765) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.35
Burgundy (survey)
#610023
ΔE00 3.89
Claret
#680018
ΔE00 4.30
Dried Blood
#4B0101
ΔE00 6.61
Wine Red
#7B0323
ΔE00 6.64
Mahogany
#4A0100
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B121F #125B4E
analogous
#5B1244 #5B121F #5B2A12
triadic
#5B121F #1F5B12 #121F5B
tetradic
#5B121F #445B12 #125B4E #2A125B
square
#5B121F #445B12 #125B4E #2A125B
split-complementary
#5B121F #125B2A #12445B
monochromatic
#1A0509 #28080E #5B121F #8E1C30 #C12642
Accessibility & contrast
On white
13.54
#5B121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B121F
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B121F | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b121f; /* rgb */ color: rgb(91, 18, 31); /* oklch */ color: oklch(31.5% 0.104 15.8);
Tailwind
colors: {
custom: {
50: '#8f575a',
500: '#5b121f',
950: '#000000',
},
}SCSS
$custom: #5b121f; $custom-light: #8f575a; $custom-dark: #000000;
JSON
{
"hex": "#5b121f",
"rgb": {
"r": 91,
"g": 18,
"b": 31
},
"hsl": {
"h": 349.315,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.31518,
"c": 0.10426,
"h": 15.8
},
"luminance": 0.02756
}Semantic roles & 50–950 ramp
primary
#5B121F
secondary
#359383
accent
#EACB3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878