#540F18#540F18
#540F18 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 19.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #540F18 |
|---|---|
| RGB | rgb(84, 15, 24) |
| HSL | hsl(352, 70%, 19%) |
| HSV | hsv(352, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 71.4%, 67.1%) |
| CIE-LAB | lab(16.96, 31.76, 13.63) |
| CIE-LCH | lch(16.96, 34.56, 23.23°) |
| OKLab | oklab(29.65% 0.0942 0.0324) |
| OKLCH | oklch(29.65% 0.1 19) |
| XYZ | xyz(3.9923, 2.2930, 1.0964) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.51
Claret
#680018
ΔE00 4.62
Mahogany
#4A0100
ΔE00 4.66
Deep Brown
#410200
ΔE00 4.97
Maroon (survey)
#650021
ΔE00 5.04
Dark Maroon
#3C0008
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F18 #0F544B
analogous
#540F3B #540F18 #54290F
triadic
#540F18 #18540F #0F1854
tetradic
#540F18 #3B540F #0F544B #290F54
square
#540F18 #3B540F #0F544B #290F54
split-complementary
#540F18 #0F5429 #0F3B54
monochromatic
#1A0507 #200609 #540F18 #881827 #BC2236
Accessibility & contrast
On white
14.40
#540F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F18
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F18 | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232018
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5D0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f18; /* rgb */ color: rgb(84, 15, 24); /* oklch */ color: oklch(29.6% 0.100 19.0);
Tailwind
colors: {
custom: {
50: '#8a5454',
500: '#540f18',
950: '#000000',
},
}SCSS
$custom: #540f18; $custom-light: #8a5454; $custom-dark: #000000;
JSON
{
"hex": "#540f18",
"rgb": {
"r": 84,
"g": 15,
"b": 24
},
"hsl": {
"h": 352.174,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29647,
"c": 0.09959,
"h": 19
},
"luminance": 0.02292
}Semantic roles & 50–950 ramp
primary
#540F18
secondary
#318E82
accent
#EDD53B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878