#5E1A12#5E1A12
#5E1A12 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.101 H 30.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1A12 |
|---|---|
| RGB | rgb(94, 26, 18) |
| HSL | hsl(6, 68%, 22%) |
| HSV | hsv(6, 81%, 37%) |
| CMYK | cmyk(0%, 72.3%, 80.9%, 63.1%) |
| CIE-LAB | lab(20.68, 30.40, 22.58) |
| CIE-LCH | lch(20.68, 37.87, 36.60°) |
| OKLab | oklab(32.79% 0.087 0.0503) |
| OKLCH | oklch(32.79% 0.101 30) |
| XYZ | xyz(5.0952, 3.1629, 0.9144) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.42
Reddy Brown
#6E1005
ΔE00 4.63
Dried Blood
#4B0101
ΔE00 5.94
Mahogany
#4A0100
ΔE00 6.04
Blood
#770001
ΔE00 6.53
Claret
#680018
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1A12 #12565E
analogous
#5E1230 #5E1A12 #5E4012
triadic
#5E1A12 #125E1A #1A125E
tetradic
#5E1A12 #305E12 #12565E #40125E
square
#5E1A12 #305E12 #12565E #40125E
split-complementary
#5E1A12 #125E40 #12305E
monochromatic
#1A0705 #2B0C08 #5E1A12 #91281C #C53626
Accessibility & contrast
On white
12.86
#5E1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5E1A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1A12
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1A12 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#680619
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5e1a12; /* rgb */ color: rgb(94, 26, 18); /* oklch */ color: oklch(32.8% 0.101 30.0);
Tailwind
colors: {
custom: {
50: '#925b50',
500: '#5e1a12',
950: '#000000',
},
}SCSS
$custom: #5e1a12; $custom-light: #925b50; $custom-dark: #000000;
JSON
{
"hex": "#5e1a12",
"rgb": {
"r": 94,
"g": 26,
"b": 18
},
"hsl": {
"h": 6.316,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.32788,
"c": 0.10053,
"h": 30
},
"luminance": 0.03162
}Semantic roles & 50–950 ramp
primary
#5E1A12
secondary
#358C96
accent
#D8EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978