#540F13#540F13
#540F13 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 23.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #540F13 |
|---|---|
| RGB | rgb(84, 15, 19) |
| HSL | hsl(357, 70%, 19%) |
| HSV | hsv(357, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 77.4%, 67.1%) |
| CIE-LAB | lab(16.86, 31.46, 16.96) |
| CIE-LCH | lch(16.86, 35.74, 28.33°) |
| OKLab | oklab(29.55% 0.092 0.0391) |
| OKLCH | oklch(29.55% 0.1 23) |
| XYZ | xyz(3.9450, 2.2741, 0.8472) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.06
Mahogany
#4A0100
ΔE00 3.23
Deep Brown
#410200
ΔE00 4.37
Rosewood
#65000B
ΔE00 4.73
Claret
#680018
ΔE00 4.76
Dark Maroon
#3C0008
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F13 #0F5450
analogous
#540F36 #540F13 #542E0F
triadic
#540F13 #13540F #0F1354
tetradic
#540F13 #36540F #0F5450 #2E0F54
square
#540F13 #36540F #0F5450 #2E0F54
split-complementary
#540F13 #0F542E #0F3654
monochromatic
#1A0506 #200607 #540F13 #88181F #BC222A
Accessibility & contrast
On white
14.44
#540F13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540F13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F13
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F13 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232012
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f13; /* rgb */ color: rgb(84, 15, 19); /* oklch */ color: oklch(29.6% 0.100 23.0);
Tailwind
colors: {
custom: {
50: '#8a5450',
500: '#540f13',
950: '#000000',
},
}SCSS
$custom: #540f13; $custom-light: #8a5450; $custom-dark: #000000;
JSON
{
"hex": "#540f13",
"rgb": {
"r": 84,
"g": 15,
"b": 19
},
"hsl": {
"h": 356.522,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29551,
"c": 0.09994,
"h": 23
},
"luminance": 0.02273
}Semantic roles & 50–950 ramp
primary
#540F13
secondary
#318E89
accent
#EDE23B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878