#54120C#54120C
#54120C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 29.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #54120C |
|---|---|
| RGB | rgb(84, 18, 12) |
| HSL | hsl(5, 75%, 19%) |
| HSV | hsv(5, 86%, 33%) |
| CMYK | cmyk(0%, 78.6%, 85.7%, 67.1%) |
| CIE-LAB | lab(17.20, 29.93, 21.18) |
| CIE-LCH | lch(17.20, 36.66, 35.28°) |
| OKLab | oklab(29.77% 0.0854 0.0481) |
| OKLCH | oklch(29.77% 0.098 29.4) |
| XYZ | xyz(3.9393, 2.3446, 0.5929) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.60
Mahogany
#4A0100
ΔE00 3.66
Rosewood
#65000B
ΔE00 4.53
Deep Brown
#410200
ΔE00 5.36
Reddy Brown
#6E1005
ΔE00 6.30
Claret
#680018
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54120C #0C4E54
analogous
#540C2A #54120C #54360C
triadic
#54120C #0C5412 #120C54
tetradic
#54120C #2A540C #0C4E54 #360C54
square
#54120C #2A540C #0C4E54 #360C54
split-complementary
#54120C #0C5436 #0C2A54
monochromatic
#1B0604 #1E0704 #54120C #8A1D14 #BF291B
Accessibility & contrast
On white
14.30
#54120C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#54120C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54120C
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54120C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54120C | 1.00 | 14.30 | 1.47 | 14.30 |
| #FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26210B
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #54120c; /* rgb */ color: rgb(84, 18, 12); /* oklch */ color: oklch(29.8% 0.098 29.4);
Tailwind
colors: {
custom: {
50: '#8b554c',
500: '#54120c',
950: '#000000',
},
}SCSS
$custom: #54120c; $custom-light: #8b554c; $custom-dark: #000000;
JSON
{
"hex": "#54120c",
"rgb": {
"r": 84,
"g": 18,
"b": 12
},
"hsl": {
"h": 5,
"s": 75,
"l": 18.824
},
"oklch": {
"l": 0.2977,
"c": 0.09803,
"h": 29.4
},
"luminance": 0.02344
}Semantic roles & 50–950 ramp
primary
#54120C
secondary
#2D878F
accent
#E2F236
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877