#5E211F#5E211F
#5E211F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.090 H 24.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5E211F |
|---|---|
| RGB | rgb(94, 33, 31) |
| HSL | hsl(2, 50%, 25%) |
| HSV | hsv(2, 67%, 37%) |
| CMYK | cmyk(0%, 64.9%, 67%, 63.1%) |
| CIE-LAB | lab(22.18, 27.72, 15.85) |
| CIE-LCH | lch(22.18, 31.93, 29.76°) |
| OKLab | oklab(33.98% 0.0815 0.0379) |
| OKLCH | oklch(33.98% 0.09 24.9) |
| XYZ | xyz(5.4078, 3.5670, 1.6998) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 6.00
Rosewood
#65000B
ΔE00 6.13
Dried Blood
#4B0101
ΔE00 6.82
Wine
#722F37
ΔE00 6.90
Mahogany
#4A0100
ΔE00 6.96
Maroon (survey)
#650021
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E211F #1F5C5E
analogous
#5E1F3D #5E211F #5E411F
triadic
#5E211F #1F5E21 #211F5E
tetradic
#5E211F #3D5E1F #1F5C5E #411F5E
square
#5E211F #3D5E1F #1F5C5E #411F5E
split-complementary
#5E211F #1F5E41 #1F3D5E
monochromatic
#170808 #301110 #5E211F #8C312E #BA413D
Accessibility & contrast
On white
12.26
#5E211F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#5E211F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E211F
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E211F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E211F | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#671521
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5e211f; /* rgb */ color: rgb(94, 33, 31); /* oklch */ color: oklch(34.0% 0.090 24.9);
Tailwind
colors: {
custom: {
50: '#905f5a',
500: '#5e211f',
950: '#000000',
},
}SCSS
$custom: #5e211f; $custom-light: #905f5a; $custom-dark: #000000;
JSON
{
"hex": "#5e211f",
"rgb": {
"r": 94,
"g": 33,
"b": 31
},
"hsl": {
"h": 1.905,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.33981,
"c": 0.08989,
"h": 24.9
},
"luminance": 0.03566
}Semantic roles & 50–950 ramp
primary
#5E211F
secondary
#469093
accent
#D5DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978