#540F19#540F19
#540F19 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.100 H 18.1°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #540F19 |
|---|---|
| RGB | rgb(84, 15, 25) |
| HSL | hsl(351, 70%, 19%) |
| HSV | hsv(351, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 70.2%, 67.1%) |
| CIE-LAB | lab(16.98, 31.82, 12.95) |
| CIE-LCH | lch(16.98, 34.35, 22.14°) |
| OKLab | oklab(29.67% 0.0946 0.031) |
| OKLCH | oklch(29.67% 0.1 18.1) |
| XYZ | xyz(4.0029, 2.2973, 1.1522) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.73
Maroon (survey)
#650021
ΔE00 4.77
Dried Blood
#4B0101
ΔE00 4.88
Mahogany
#4A0100
ΔE00 5.03
Deep Brown
#410200
ΔE00 5.20
Burgundy (survey)
#610023
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F19 #0F544A
analogous
#540F3C #540F19 #54280F
triadic
#540F19 #19540F #0F1954
tetradic
#540F19 #3C540F #0F544A #280F54
square
#540F19 #3C540F #0F544A #280F54
split-complementary
#540F19 #0F5428 #0F3C54
monochromatic
#1A0508 #20060A #540F19 #881828 #BC2238
Accessibility & contrast
On white
14.39
#540F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F19
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F19 | 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)
#232119
Deuteranopia (green-blind)
#342F17
Tritanopia (blue-blind)
#5D0013
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f19; /* rgb */ color: rgb(84, 15, 25); /* oklch */ color: oklch(29.7% 0.100 18.1);
Tailwind
colors: {
custom: {
50: '#8a5455',
500: '#540f19',
950: '#000000',
},
}SCSS
$custom: #540f19; $custom-light: #8a5455; $custom-dark: #000000;
JSON
{
"hex": "#540f19",
"rgb": {
"r": 84,
"g": 15,
"b": 25
},
"hsl": {
"h": 351.304,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29669,
"c": 0.09956,
"h": 18.1
},
"luminance": 0.02297
}Semantic roles & 50–950 ramp
primary
#540F19
secondary
#318E80
accent
#EDD33B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0303
muted
#7D7878