#5D121B#5D121B
#5D121B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.107 H 19.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5D121B |
|---|---|
| RGB | rgb(93, 18, 27) |
| HSL | hsl(353, 68%, 22%) |
| HSV | hsv(353, 81%, 36%) |
| CMYK | cmyk(0%, 80.6%, 71%, 63.5%) |
| CIE-LAB | lab(19.39, 33.91, 15.01) |
| CIE-LCH | lch(19.39, 37.09, 23.88°) |
| OKLab | oklab(31.83% 0.1004 0.0355) |
| OKLCH | oklch(31.83% 0.107 19.5) |
| XYZ | xyz(4.9289, 2.8396, 1.3253) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.16
Maroon (survey)
#650021
ΔE00 4.45
Rosewood
#65000B
ΔE00 5.16
Dried Blood
#4B0101
ΔE00 5.41
Burgundy (survey)
#610023
ΔE00 5.51
Mahogany
#4A0100
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D121B #125D54
analogous
#5D1241 #5D121B #5D2F12
triadic
#5D121B #1B5D12 #121B5D
tetradic
#5D121B #415D12 #125D54 #2F125D
square
#5D121B #415D12 #125D54 #2F125D
split-complementary
#5D121B #125D2F #12415D
monochromatic
#1A0507 #2A080C #5D121B #901C2A #C42639
Accessibility & contrast
On white
13.39
#5D121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5D121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D121B
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D121B | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5d121b; /* rgb */ color: rgb(93, 18, 27); /* oklch */ color: oklch(31.8% 0.107 19.5);
Tailwind
colors: {
custom: {
50: '#915757',
500: '#5d121b',
950: '#000000',
},
}SCSS
$custom: #5d121b; $custom-light: #915757; $custom-dark: #000000;
JSON
{
"hex": "#5d121b",
"rgb": {
"r": 93,
"g": 18,
"b": 27
},
"hsl": {
"h": 352.8,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.31829,
"c": 0.10651,
"h": 19.5
},
"luminance": 0.02839
}Semantic roles & 50–950 ramp
primary
#5D121B
secondary
#35958A
accent
#EAD63D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878