#540F1D#540F1D
#540F1D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.100 H 14.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #540F1D |
|---|---|
| RGB | rgb(84, 15, 29) |
| HSL | hsl(348, 70%, 19%) |
| HSV | hsv(348, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 65.5%, 67.1%) |
| CIE-LAB | lab(17.06, 32.11, 10.20) |
| CIE-LCH | lch(17.06, 33.69, 17.62°) |
| OKLab | oklab(29.76% 0.0964 0.025) |
| OKLCH | oklch(29.76% 0.1 14.5) |
| XYZ | xyz(4.0492, 2.3158, 1.3959) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.00
Maroon (survey)
#650021
ΔE00 4.06
Dark Maroon
#3C0008
ΔE00 5.54
Claret
#680018
ΔE00 5.56
Deep Brown
#410200
ΔE00 6.35
Dried Blood
#4B0101
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F1D #0F5446
analogous
#540F40 #540F1D #54240F
triadic
#540F1D #1D540F #0F1D54
tetradic
#540F1D #40540F #0F5446 #240F54
square
#540F1D #40540F #0F5446 #240F54
split-complementary
#540F1D #0F5424 #0F4054
monochromatic
#1A0509 #20060B #540F1D #88182F #BC2241
Accessibility & contrast
On white
14.35
#540F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F1D
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F1D | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211D
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f1d; /* rgb */ color: rgb(84, 15, 29); /* oklch */ color: oklch(29.8% 0.100 14.5);
Tailwind
colors: {
custom: {
50: '#895458',
500: '#540f1d',
950: '#000000',
},
}SCSS
$custom: #540f1d; $custom-light: #895458; $custom-dark: #000000;
JSON
{
"hex": "#540f1d",
"rgb": {
"r": 84,
"g": 15,
"b": 29
},
"hsl": {
"h": 347.826,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29763,
"c": 0.09963,
"h": 14.5
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#540F1D
secondary
#318E7B
accent
#EDC93B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878