#540F15#540F15
#540F15 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 21.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #540F15 |
|---|---|
| RGB | rgb(84, 15, 21) |
| HSL | hsl(355, 70%, 19%) |
| HSV | hsv(355, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 75%, 67.1%) |
| CIE-LAB | lab(16.90, 31.57, 15.68) |
| CIE-LCH | lch(16.90, 35.25, 26.41°) |
| OKLab | oklab(29.59% 0.0929 0.0365) |
| OKLCH | oklch(29.59% 0.1 21.5) |
| XYZ | xyz(3.9628, 2.2812, 0.9410) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.53
Mahogany
#4A0100
ΔE00 3.69
Deep Brown
#410200
ΔE00 4.49
Claret
#680018
ΔE00 4.57
Rosewood
#65000B
ΔE00 5.23
Maroon (survey)
#650021
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F15 #0F544E
analogous
#540F38 #540F15 #542C0F
triadic
#540F15 #15540F #0F1554
tetradic
#540F15 #38540F #0F544E #2C0F54
square
#540F15 #38540F #0F544E #2C0F54
split-complementary
#540F15 #0F542C #0F3854
monochromatic
#1A0506 #200608 #540F15 #881822 #BC222F
Accessibility & contrast
On white
14.42
#540F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F15
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F15 | 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)
#232015
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f15; /* rgb */ color: rgb(84, 15, 21); /* oklch */ color: oklch(29.6% 0.100 21.5);
Tailwind
colors: {
custom: {
50: '#8a5452',
500: '#540f15',
950: '#000000',
},
}SCSS
$custom: #540f15; $custom-light: #8a5452; $custom-dark: #000000;
JSON
{
"hex": "#540f15",
"rgb": {
"r": 84,
"g": 15,
"b": 21
},
"hsl": {
"h": 354.783,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29587,
"c": 0.09977,
"h": 21.5
},
"luminance": 0.02281
}Semantic roles & 50–950 ramp
primary
#540F15
secondary
#318E86
accent
#EDDD3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878