#5E181F#5E181F
#5E181F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 19.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5E181F |
|---|---|
| RGB | rgb(94, 24, 31) |
| HSL | hsl(354, 59%, 23%) |
| HSV | hsv(354, 74%, 37%) |
| CMYK | cmyk(0%, 74.5%, 67%, 63.1%) |
| CIE-LAB | lab(20.57, 32.08, 13.78) |
| CIE-LCH | lch(20.57, 34.92, 23.25°) |
| OKLab | oklab(32.77% 0.0953 0.0332) |
| OKLCH | oklch(32.77% 0.101 19.2) |
| XYZ | xyz(5.1906, 3.1326, 1.6274) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.97
Maroon (survey)
#650021
ΔE00 4.70
Burgundy (survey)
#610023
ΔE00 5.62
Rosewood
#65000B
ΔE00 5.99
Wine Red
#7B0323
ΔE00 6.27
Dried Blood
#4B0101
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E181F #185E57
analogous
#5E1842 #5E181F #5E3418
triadic
#5E181F #1F5E18 #181F5E
tetradic
#5E181F #425E18 #185E57 #34185E
square
#5E181F #425E18 #185E57 #34185E
split-complementary
#5E181F #185E34 #18425E
monochromatic
#180608 #2D0C0F #5E181F #8F242F #C0313F
Accessibility & contrast
On white
12.91
#5E181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5E181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E181F
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E181F | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#68061B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5e181f; /* rgb */ color: rgb(94, 24, 31); /* oklch */ color: oklch(32.8% 0.101 19.2);
Tailwind
colors: {
custom: {
50: '#915a5a',
500: '#5e181f',
950: '#000000',
},
}SCSS
$custom: #5e181f; $custom-light: #915a5a; $custom-dark: #000000;
JSON
{
"hex": "#5e181f",
"rgb": {
"r": 94,
"g": 24,
"b": 31
},
"hsl": {
"h": 354,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.32769,
"c": 0.10095,
"h": 19.2
},
"luminance": 0.03132
}Semantic roles & 50–950 ramp
primary
#5E181F
secondary
#3D948C
accent
#E3D345
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978