#540E1A#540E1A
#540E1A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.101 H 16.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #540E1A |
|---|---|
| RGB | rgb(84, 14, 26) |
| HSL | hsl(350, 71%, 19%) |
| HSV | hsv(350, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 69%, 67.1%) |
| CIE-LAB | lab(16.86, 32.26, 12.09) |
| CIE-LCH | lch(16.86, 34.45, 20.54°) |
| OKLab | oklab(29.59% 0.0963 0.0291) |
| OKLCH | oklch(29.59% 0.101 16.8) |
| XYZ | xyz(4.0001, 2.2741, 1.2054) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.37
Burgundy (survey)
#610023
ΔE00 4.71
Claret
#680018
ΔE00 4.88
Dried Blood
#4B0101
ΔE00 5.36
Dark Maroon
#3C0008
ΔE00 5.39
Mahogany
#4A0100
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E1A #0E5448
analogous
#540E3D #540E1A #54250E
triadic
#540E1A #1A540E #0E1A54
tetradic
#540E1A #3D540E #0E5448 #250E54
square
#540E1A #3D540E #0E5448 #250E54
split-complementary
#540E1A #0E5425 #0E3D54
monochromatic
#1A0408 #20050A #540E1A #88172A #BD1F3A
Accessibility & contrast
On white
14.44
#540E1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540E1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E1A
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E1A | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#5D0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e1a; /* rgb */ color: rgb(84, 14, 26); /* oklch */ color: oklch(29.6% 0.101 16.8);
Tailwind
colors: {
custom: {
50: '#8a5456',
500: '#540e1a',
950: '#000000',
},
}SCSS
$custom: #540e1a; $custom-light: #8a5456; $custom-dark: #000000;
JSON
{
"hex": "#540e1a",
"rgb": {
"r": 84,
"g": 14,
"b": 26
},
"hsl": {
"h": 349.714,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29593,
"c": 0.10057,
"h": 16.8
},
"luminance": 0.02273
}Semantic roles & 50–950 ramp
primary
#540E1A
secondary
#2F8E7E
accent
#EECF3A
background
#F8F5F5
surface
#F0E9E8
border
#CBC5C4
text
#0D0303
muted
#7D7878