#540E18#540E18
#540E18 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.101 H 18.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #540E18 |
|---|---|
| RGB | rgb(84, 14, 24) |
| HSL | hsl(351, 71%, 19%) |
| HSV | hsv(351, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 71.4%, 67.1%) |
| CIE-LAB | lab(16.82, 32.13, 13.46) |
| CIE-LCH | lch(16.82, 34.84, 22.73°) |
| OKLab | oklab(29.55% 0.0954 0.032) |
| OKLCH | oklch(29.55% 0.101 18.5) |
| XYZ | xyz(3.9785, 2.2654, 1.0918) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.58
Dried Blood
#4B0101
ΔE00 4.59
Mahogany
#4A0100
ΔE00 4.75
Maroon (survey)
#650021
ΔE00 4.87
Deep Brown
#410200
ΔE00 5.01
Burgundy (survey)
#610023
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E18 #0E544A
analogous
#540E3B #540E18 #54270E
triadic
#540E18 #18540E #0E1854
tetradic
#540E18 #3B540E #0E544A #270E54
square
#540E18 #3B540E #0E544A #270E54
split-complementary
#540E18 #0E5427 #0E3B54
monochromatic
#1A0407 #200509 #540E18 #881727 #BD1F36
Accessibility & contrast
On white
14.45
#540E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E18
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E18 | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222018
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #540e18; /* rgb */ color: rgb(84, 14, 24); /* oklch */ color: oklch(29.5% 0.101 18.5);
Tailwind
colors: {
custom: {
50: '#8a5454',
500: '#540e18',
950: '#000000',
},
}SCSS
$custom: #540e18; $custom-light: #8a5454; $custom-dark: #000000;
JSON
{
"hex": "#540e18",
"rgb": {
"r": 84,
"g": 14,
"b": 24
},
"hsl": {
"h": 351.429,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29549,
"c": 0.1006,
"h": 18.5
},
"luminance": 0.02265
}Semantic roles & 50–950 ramp
primary
#540E18
secondary
#2F8E81
accent
#EED43A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878