#540E12#540E12
#540E12 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.101 H 23.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #540E12 |
|---|---|
| RGB | rgb(84, 14, 18) |
| HSL | hsl(357, 71%, 19%) |
| HSV | hsv(357, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 78.6%, 67.1%) |
| CIE-LAB | lab(16.71, 31.78, 17.40) |
| CIE-LCH | lch(16.71, 36.23, 28.70°) |
| OKLab | oklab(29.43% 0.0928 0.04) |
| OKLCH | oklch(29.43% 0.101 23.3) |
| XYZ | xyz(3.9228, 2.2432, 0.7986) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.87
Mahogany
#4A0100
ΔE00 3.04
Deep Brown
#410200
ΔE00 4.31
Rosewood
#65000B
ΔE00 4.55
Claret
#680018
ΔE00 4.75
Dark Maroon
#3C0008
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E12 #0E5450
analogous
#540E35 #540E12 #542D0E
triadic
#540E12 #12540E #0E1254
tetradic
#540E12 #35540E #0E5450 #2D0E54
square
#540E12 #35540E #0E5450 #2D0E54
split-complementary
#540E12 #0E542D #0E3554
monochromatic
#1A0406 #200507 #540E12 #88171D #BD1F28
Accessibility & contrast
On white
14.50
#540E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E12
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E12 | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#5D0010
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #540e12; /* rgb */ color: rgb(84, 14, 18); /* oklch */ color: oklch(29.4% 0.101 23.3);
Tailwind
colors: {
custom: {
50: '#8a544f',
500: '#540e12',
950: '#000000',
},
}SCSS
$custom: #540e12; $custom-light: #8a544f; $custom-dark: #000000;
JSON
{
"hex": "#540e12",
"rgb": {
"r": 84,
"g": 14,
"b": 18
},
"hsl": {
"h": 356.571,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29434,
"c": 0.10101,
"h": 23.3
},
"luminance": 0.02243
}Semantic roles & 50–950 ramp
primary
#540E12
secondary
#2F8E89
accent
#EEE43A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878