#5E121B#5E121B
#5E121B is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 19.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5E121B |
|---|---|
| RGB | rgb(94, 18, 27) |
| HSL | hsl(353, 68%, 22%) |
| HSV | hsv(353, 81%, 37%) |
| CMYK | cmyk(0%, 80.9%, 71.3%, 63.1%) |
| CIE-LAB | lab(19.61, 34.25, 15.33) |
| CIE-LCH | lch(19.61, 37.53, 24.11°) |
| OKLab | oklab(32.03% 0.1014 0.0362) |
| OKLCH | oklch(32.03% 0.108 19.7) |
| XYZ | xyz(5.0308, 2.8922, 1.3300) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.99
Maroon (survey)
#650021
ΔE00 4.48
Rosewood
#65000B
ΔE00 4.99
Dried Blood
#4B0101
ΔE00 5.48
Burgundy (survey)
#610023
ΔE00 5.60
Mahogany
#4A0100
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E121B #125E55
analogous
#5E1241 #5E121B #5E2F12
triadic
#5E121B #1B5E12 #121B5E
tetradic
#5E121B #415E12 #125E55 #2F125E
square
#5E121B #415E12 #125E55 #2F125E
split-complementary
#5E121B #125E2F #12415E
monochromatic
#1A0507 #2B080C #5E121B #911C2A #C52639
Accessibility & contrast
On white
13.31
#5E121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5E121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E121B
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E121B | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5e121b; /* rgb */ color: rgb(94, 18, 27); /* oklch */ color: oklch(32.0% 0.108 19.7);
Tailwind
colors: {
custom: {
50: '#925757',
500: '#5e121b',
950: '#000000',
},
}SCSS
$custom: #5e121b; $custom-light: #925757; $custom-dark: #000000;
JSON
{
"hex": "#5e121b",
"rgb": {
"r": 94,
"g": 18,
"b": 27
},
"hsl": {
"h": 352.895,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.32029,
"c": 0.10763,
"h": 19.7
},
"luminance": 0.02891
}Semantic roles & 50–950 ramp
primary
#5E121B
secondary
#35968B
accent
#EBD63D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878