#54120E#54120E
#54120E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 28.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #54120E |
|---|---|
| RGB | rgb(84, 18, 14) |
| HSL | hsl(3, 71%, 19%) |
| HSV | hsv(3, 83%, 33%) |
| CMYK | cmyk(0%, 78.6%, 83.3%, 67.1%) |
| CIE-LAB | lab(17.22, 30.01, 20.25) |
| CIE-LCH | lch(17.22, 36.20, 34.00°) |
| OKLab | oklab(29.8% 0.0862 0.046) |
| OKLCH | oklch(29.8% 0.098 28.1) |
| XYZ | xyz(3.9522, 2.3497, 0.6608) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.35
Mahogany
#4A0100
ΔE00 3.43
Rosewood
#65000B
ΔE00 4.45
Deep Brown
#410200
ΔE00 5.07
Claret
#680018
ΔE00 6.28
Reddy Brown
#6E1005
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54120E #0E5054
analogous
#540E2D #54120E #54350E
triadic
#54120E #0E5412 #120E54
tetradic
#54120E #2D540E #0E5054 #350E54
square
#54120E #2D540E #0E5054 #350E54
split-complementary
#54120E #0E5435 #0E2D54
monochromatic
#1A0604 #200705 #54120E #881D17 #BD281F
Accessibility & contrast
On white
14.29
#54120E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#54120E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54120E
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54120E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54120E | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26210D
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #54120e; /* rgb */ color: rgb(84, 18, 14); /* oklch */ color: oklch(29.8% 0.098 28.1);
Tailwind
colors: {
custom: {
50: '#8a554d',
500: '#54120e',
950: '#000000',
},
}SCSS
$custom: #54120e; $custom-light: #8a554d; $custom-dark: #000000;
JSON
{
"hex": "#54120e",
"rgb": {
"r": 84,
"g": 18,
"b": 14
},
"hsl": {
"h": 3.429,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29796,
"c": 0.09768,
"h": 28.1
},
"luminance": 0.02349
}Semantic roles & 50–950 ramp
primary
#54120E
secondary
#2F898E
accent
#E4EE3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877