#540F14#540F14
#540F14 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 22.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #540F14 |
|---|---|
| RGB | rgb(84, 15, 20) |
| HSL | hsl(356, 70%, 19%) |
| HSV | hsv(356, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 76.2%, 67.1%) |
| CIE-LAB | lab(16.88, 31.51, 16.33) |
| CIE-LCH | lch(16.88, 35.49, 27.39°) |
| OKLab | oklab(29.57% 0.0924 0.0378) |
| OKLCH | oklch(29.57% 0.1 22.3) |
| XYZ | xyz(3.9537, 2.2776, 0.8931) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.27
Mahogany
#4A0100
ΔE00 3.44
Deep Brown
#410200
ΔE00 4.41
Claret
#680018
ΔE00 4.65
Rosewood
#65000B
ΔE00 4.96
Dark Maroon
#3C0008
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F14 #0F544F
analogous
#540F37 #540F14 #542D0F
triadic
#540F14 #14540F #0F1454
tetradic
#540F14 #37540F #0F544F #2D0F54
square
#540F14 #37540F #0F544F #2D0F54
split-complementary
#540F14 #0F542D #0F3754
monochromatic
#1A0506 #200608 #540F14 #881820 #BC222D
Accessibility & contrast
On white
14.43
#540F14 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540F14 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F14
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F14 | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232014
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f14; /* rgb */ color: rgb(84, 15, 20); /* oklch */ color: oklch(29.6% 0.100 22.3);
Tailwind
colors: {
custom: {
50: '#8a5451',
500: '#540f14',
950: '#000000',
},
}SCSS
$custom: #540f14; $custom-light: #8a5451; $custom-dark: #000000;
JSON
{
"hex": "#540f14",
"rgb": {
"r": 84,
"g": 15,
"b": 20
},
"hsl": {
"h": 355.652,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29569,
"c": 0.09985,
"h": 22.3
},
"luminance": 0.02277
}Semantic roles & 50–950 ramp
primary
#540F14
secondary
#318E87
accent
#EDE03B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878