#540F16#540F16
#540F16 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 20.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #540F16 |
|---|---|
| RGB | rgb(84, 15, 22) |
| HSL | hsl(354, 70%, 19%) |
| HSV | hsv(354, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 73.8%, 67.1%) |
| CIE-LAB | lab(16.92, 31.63, 15.00) |
| CIE-LCH | lch(16.92, 35.01, 25.37°) |
| OKLab | oklab(29.61% 0.0933 0.0352) |
| OKLCH | oklch(29.61% 0.1 20.6) |
| XYZ | xyz(3.9722, 2.2850, 0.9908) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.83
Mahogany
#4A0100
ΔE00 3.99
Claret
#680018
ΔE00 4.54
Deep Brown
#410200
ΔE00 4.61
Rosewood
#65000B
ΔE00 5.53
Maroon (survey)
#650021
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F16 #0F544D
analogous
#540F39 #540F16 #542B0F
triadic
#540F16 #16540F #0F1654
tetradic
#540F16 #39540F #0F544D #2B0F54
square
#540F16 #39540F #0F544D #2B0F54
split-complementary
#540F16 #0F542B #0F3954
monochromatic
#1A0507 #200608 #540F16 #881824 #BC2231
Accessibility & contrast
On white
14.42
#540F16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F16
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F16 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232016
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f16; /* rgb */ color: rgb(84, 15, 22); /* oklch */ color: oklch(29.6% 0.100 20.6);
Tailwind
colors: {
custom: {
50: '#8a5452',
500: '#540f16',
950: '#000000',
},
}SCSS
$custom: #540f16; $custom-light: #8a5452; $custom-dark: #000000;
JSON
{
"hex": "#540f16",
"rgb": {
"r": 84,
"g": 15,
"b": 22
},
"hsl": {
"h": 353.913,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29606,
"c": 0.09969,
"h": 20.6
},
"luminance": 0.02284
}Semantic roles & 50–950 ramp
primary
#540F16
secondary
#318E85
accent
#EDDB3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878