#5E121F#5E121F
#5E121F is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.108 H 16.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5E121F |
|---|---|
| RGB | rgb(94, 18, 31) |
| HSL | hsl(350, 68%, 22%) |
| HSV | hsv(350, 81%, 37%) |
| CMYK | cmyk(0%, 80.9%, 67%, 63.1%) |
| CIE-LAB | lab(19.69, 34.52, 12.64) |
| CIE-LCH | lch(19.69, 36.76, 20.11°) |
| OKLab | oklab(32.12% 0.1031 0.0306) |
| OKLCH | oklch(32.12% 0.108 16.5) |
| XYZ | xyz(5.0803, 2.9120, 1.5906) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.20
Claret
#680018
ΔE00 3.65
Burgundy (survey)
#610023
ΔE00 4.05
Wine Red
#7B0323
ΔE00 5.95
Bordeaux
#7B002C
ΔE00 6.44
Rosewood
#65000B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E121F #125E51
analogous
#5E1245 #5E121F #5E2B12
triadic
#5E121F #1F5E12 #121F5E
tetradic
#5E121F #455E12 #125E51 #2B125E
square
#5E121F #455E12 #125E51 #2B125E
split-complementary
#5E121F #125E2B #12455E
monochromatic
#1A0508 #2B080E #5E121F #911C30 #C52641
Accessibility & contrast
On white
13.27
#5E121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5E121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E121F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E121F | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5e121f; /* rgb */ color: rgb(94, 18, 31); /* oklch */ color: oklch(32.1% 0.108 16.5);
Tailwind
colors: {
custom: {
50: '#91585a',
500: '#5e121f',
950: '#000000',
},
}SCSS
$custom: #5e121f; $custom-light: #91585a; $custom-dark: #000000;
JSON
{
"hex": "#5e121f",
"rgb": {
"r": 94,
"g": 18,
"b": 31
},
"hsl": {
"h": 349.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.32115,
"c": 0.10756,
"h": 16.5
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#5E121F
secondary
#359686
accent
#EBCD3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878