#540F1C#540F1C
#540F1C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.100 H 15.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #540F1C |
|---|---|
| RGB | rgb(84, 15, 28) |
| HSL | hsl(349, 70%, 19%) |
| HSV | hsv(349, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 66.7%, 67.1%) |
| CIE-LAB | lab(17.04, 32.03, 10.88) |
| CIE-LCH | lch(17.04, 33.83, 18.77°) |
| OKLab | oklab(29.74% 0.096 0.0265) |
| OKLCH | oklch(29.74% 0.1 15.4) |
| XYZ | xyz(4.0370, 2.3109, 1.3319) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.17
Burgundy (survey)
#610023
ΔE00 4.27
Claret
#680018
ΔE00 5.30
Dark Maroon
#3C0008
ΔE00 5.47
Deep Brown
#410200
ΔE00 6.04
Dried Blood
#4B0101
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F1C #0F5447
analogous
#540F3F #540F1C #54250F
triadic
#540F1C #1C540F #0F1C54
tetradic
#540F1C #3F540F #0F5447 #250F54
square
#540F1C #3F540F #0F5447 #250F54
split-complementary
#540F1C #0F5425 #0F3F54
monochromatic
#1A0509 #20060B #540F1C #88182D #BC223F
Accessibility & contrast
On white
14.36
#540F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F1C
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F1C | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f1c; /* rgb */ color: rgb(84, 15, 28); /* oklch */ color: oklch(29.7% 0.100 15.4);
Tailwind
colors: {
custom: {
50: '#895457',
500: '#540f1c',
950: '#000000',
},
}SCSS
$custom: #540f1c; $custom-light: #895457; $custom-dark: #000000;
JSON
{
"hex": "#540f1c",
"rgb": {
"r": 84,
"g": 15,
"b": 28
},
"hsl": {
"h": 348.696,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29738,
"c": 0.09959,
"h": 15.4
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#540F1C
secondary
#318E7C
accent
#EDCB3B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878