#540F0F#540F0F
#540F0F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.100 H 25.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #540F0F |
|---|---|
| RGB | rgb(84, 15, 15) |
| HSL | hsl(0, 70%, 19%) |
| HSV | hsv(0, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 82.1%, 67.1%) |
| CIE-LAB | lab(16.80, 31.26, 19.21) |
| CIE-LCH | lch(16.80, 36.69, 31.58°) |
| OKLab | oklab(29.49% 0.0904 0.0439) |
| OKLCH | oklch(29.49% 0.1 25.9) |
| XYZ | xyz(3.9137, 2.2616, 0.6823) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.74
Mahogany
#4A0100
ΔE00 2.88
Rosewood
#65000B
ΔE00 4.18
Deep Brown
#410200
ΔE00 4.53
Claret
#680018
ΔE00 5.43
Reddy Brown
#6E1005
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F0F #0F5454
analogous
#540F32 #540F0F #54320F
triadic
#540F0F #0F540F #0F0F54
tetradic
#540F0F #32540F #0F5454 #320F54
square
#540F0F #32540F #0F5454 #320F54
split-complementary
#540F0F #0F5432 #0F3254
monochromatic
#1A0505 #200606 #540F0F #881818 #BC2222
Accessibility & contrast
On white
14.46
#540F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F0F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F0F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#5D0010
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #540f0f; /* rgb */ color: rgb(84, 15, 15); /* oklch */ color: oklch(29.5% 0.100 25.9);
Tailwind
colors: {
custom: {
50: '#8b544d',
500: '#540f0f',
950: '#000000',
},
}SCSS
$custom: #540f0f; $custom-light: #8b544d; $custom-dark: #000000;
JSON
{
"hex": "#540f0f",
"rgb": {
"r": 84,
"g": 15,
"b": 15
},
"hsl": {
"h": 0,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29486,
"c": 0.10044,
"h": 25.9
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#540F0F
secondary
#318E8E
accent
#EDED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877