#540F17#540F17
#540F17 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 19.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #540F17 |
|---|---|
| RGB | rgb(84, 15, 23) |
| HSL | hsl(353, 70%, 19%) |
| HSV | hsv(353, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 72.6%, 67.1%) |
| CIE-LAB | lab(16.94, 31.69, 14.32) |
| CIE-LCH | lch(16.94, 34.78, 24.31°) |
| OKLab | oklab(29.63% 0.0937 0.0338) |
| OKLCH | oklch(29.63% 0.1 19.8) |
| XYZ | xyz(3.9821, 2.2889, 1.0426) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.16
Mahogany
#4A0100
ΔE00 4.32
Claret
#680018
ΔE00 4.55
Deep Brown
#410200
ΔE00 4.77
Maroon (survey)
#650021
ΔE00 5.34
Dark Maroon
#3C0008
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F17 #0F544C
analogous
#540F3A #540F17 #54290F
triadic
#540F17 #17540F #0F1754
tetradic
#540F17 #3A540F #0F544C #290F54
square
#540F17 #3A540F #0F544C #290F54
split-complementary
#540F17 #0F5429 #0F3A54
monochromatic
#1A0507 #200609 #540F17 #881825 #BC2233
Accessibility & contrast
On white
14.41
#540F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F17
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F17 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5D0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f17; /* rgb */ color: rgb(84, 15, 23); /* oklch */ color: oklch(29.6% 0.100 19.8);
Tailwind
colors: {
custom: {
50: '#8a5453',
500: '#540f17',
950: '#000000',
},
}SCSS
$custom: #540f17; $custom-light: #8a5453; $custom-dark: #000000;
JSON
{
"hex": "#540f17",
"rgb": {
"r": 84,
"g": 15,
"b": 23
},
"hsl": {
"h": 353.043,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29627,
"c": 0.09963,
"h": 19.8
},
"luminance": 0.02288
}Semantic roles & 50–950 ramp
primary
#540F17
secondary
#318E83
accent
#EDD83B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878