#54120F#54120F
#54120F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.098 H 27.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #54120F |
|---|---|
| RGB | rgb(84, 18, 15) |
| HSL | hsl(3, 70%, 19%) |
| HSV | hsv(3, 82%, 33%) |
| CMYK | cmyk(0%, 78.6%, 82.1%, 67.1%) |
| CIE-LAB | lab(17.24, 30.06, 19.74) |
| CIE-LCH | lch(17.24, 35.96, 33.30°) |
| OKLab | oklab(29.81% 0.0866 0.0449) |
| OKLCH | oklch(29.81% 0.098 27.4) |
| XYZ | xyz(3.9591, 2.3525, 0.6975) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.26
Mahogany
#4A0100
ΔE00 3.35
Rosewood
#65000B
ΔE00 4.44
Deep Brown
#410200
ΔE00 4.94
Claret
#680018
ΔE00 6.06
Reddy Brown
#6E1005
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54120F #0F5154
analogous
#540F2F #54120F #54350F
triadic
#54120F #0F5412 #120F54
tetradic
#54120F #2F540F #0F5154 #350F54
square
#54120F #2F540F #0F5154 #350F54
split-complementary
#54120F #0F5435 #0F2F54
monochromatic
#1A0605 #200706 #54120F #881D18 #BC2822
Accessibility & contrast
On white
14.28
#54120F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#54120F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54120F
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54120F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54120F | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #54120f; /* rgb */ color: rgb(84, 18, 15); /* oklch */ color: oklch(29.8% 0.098 27.4);
Tailwind
colors: {
custom: {
50: '#8a554e',
500: '#54120f',
950: '#000000',
},
}SCSS
$custom: #54120f; $custom-light: #8a554e; $custom-dark: #000000;
JSON
{
"hex": "#54120f",
"rgb": {
"r": 84,
"g": 18,
"b": 15
},
"hsl": {
"h": 2.609,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.2981,
"c": 0.09751,
"h": 27.4
},
"luminance": 0.02352
}Semantic roles & 50–950 ramp
primary
#54120F
secondary
#318A8E
accent
#E5ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877