#540F12#540F12
#540F12 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.100 H 23.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #540F12 |
|---|---|
| RGB | rgb(84, 15, 18) |
| HSL | hsl(357, 70%, 19%) |
| HSV | hsv(357, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 78.6%, 67.1%) |
| CIE-LAB | lab(16.85, 31.41, 17.56) |
| CIE-LCH | lch(16.85, 35.98, 29.21°) |
| OKLab | oklab(29.53% 0.0916 0.0403) |
| OKLCH | oklch(29.53% 0.1 23.8) |
| XYZ | xyz(3.9366, 2.2707, 0.8032) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.91
Mahogany
#4A0100
ΔE00 3.07
Deep Brown
#410200
ΔE00 4.36
Rosewood
#65000B
ΔE00 4.54
Claret
#680018
ΔE00 4.90
Dark Maroon
#3C0008
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F12 #0F5451
analogous
#540F35 #540F12 #542F0F
triadic
#540F12 #12540F #0F1254
tetradic
#540F12 #35540F #0F5451 #2F0F54
square
#540F12 #35540F #0F5451 #2F0F54
split-complementary
#540F12 #0F542F #0F3554
monochromatic
#1A0506 #200607 #540F12 #88181D #BC2228
Accessibility & contrast
On white
14.44
#540F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F12
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F12 | 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)
#242011
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f12; /* rgb */ color: rgb(84, 15, 18); /* oklch */ color: oklch(29.5% 0.100 23.8);
Tailwind
colors: {
custom: {
50: '#8a544f',
500: '#540f12',
950: '#000000',
},
}SCSS
$custom: #540f12; $custom-light: #8a544f; $custom-dark: #000000;
JSON
{
"hex": "#540f12",
"rgb": {
"r": 84,
"g": 15,
"b": 18
},
"hsl": {
"h": 357.391,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29534,
"c": 0.10005,
"h": 23.8
},
"luminance": 0.0227
}Semantic roles & 50–950 ramp
primary
#540F12
secondary
#318E8A
accent
#EDE53B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878