#540E1F#540E1F
#540E1F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.101 H 12.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #540E1F |
|---|---|
| RGB | rgb(84, 14, 31) |
| HSL | hsl(345, 71%, 19%) |
| HSV | hsv(345, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 63.1%, 67.1%) |
| CIE-LAB | lab(16.98, 32.64, 8.65) |
| CIE-LCH | lch(16.98, 33.76, 14.84°) |
| OKLab | oklab(29.72% 0.0985 0.0215) |
| OKLCH | oklch(29.72% 0.101 12.3) |
| XYZ | xyz(4.0609, 2.2984, 1.5259) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.43
Maroon (survey)
#650021
ΔE00 3.93
Dark Maroon
#3C0008
ΔE00 5.77
Claret
#680018
ΔE00 6.21
Deep Brown
#410200
ΔE00 7.13
Dried Blood
#4B0101
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E1F #0E5443
analogous
#540E42 #540E1F #54200E
triadic
#540E1F #1F540E #0E1F54
tetradic
#540E1F #42540E #0E5443 #200E54
square
#540E1F #42540E #0E5443 #200E54
split-complementary
#540E1F #0E5420 #0E4254
monochromatic
#1A040A #20050C #540E1F #881732 #BD1F46
Accessibility & contrast
On white
14.39
#540E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E1F
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E1F | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21211F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e1f; /* rgb */ color: rgb(84, 14, 31); /* oklch */ color: oklch(29.7% 0.101 12.3);
Tailwind
colors: {
custom: {
50: '#89545a',
500: '#540e1f',
950: '#000000',
},
}SCSS
$custom: #540e1f; $custom-light: #89545a; $custom-dark: #000000;
JSON
{
"hex": "#540e1f",
"rgb": {
"r": 84,
"g": 14,
"b": 31
},
"hsl": {
"h": 345.429,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29718,
"c": 0.10086,
"h": 12.3
},
"luminance": 0.02298
}Semantic roles & 50–950 ramp
primary
#540E1F
secondary
#2F8E77
accent
#EEC23A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878