#54121E#54121E
#54121E is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 14.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #54121E |
|---|---|
| RGB | rgb(84, 18, 30) |
| HSL | hsl(349, 65%, 20%) |
| HSV | hsv(349, 79%, 33%) |
| CMYK | cmyk(0%, 78.6%, 64.3%, 67.1%) |
| CIE-LAB | lab(17.51, 31.00, 10.08) |
| CIE-LCH | lch(17.51, 32.60, 18.02°) |
| OKLab | oklab(30.1% 0.0931 0.0248) |
| OKLCH | oklch(30.1% 0.096 14.9) |
| XYZ | xyz(4.1072, 2.4118, 1.4773) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.36
Maroon (survey)
#650021
ΔE00 4.38
Claret
#680018
ΔE00 5.73
Dark Maroon
#3C0008
ΔE00 5.73
Deep Brown
#410200
ΔE00 6.42
Dried Blood
#4B0101
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54121E #125448
analogous
#54123F #54121E #542712
triadic
#54121E #1E5412 #121E54
tetradic
#54121E #3F5412 #125448 #271254
square
#54121E #3F5412 #125448 #271254
split-complementary
#54121E #125427 #123F54
monochromatic
#190509 #22070C #54121E #861D30 #B92842
Accessibility & contrast
On white
14.17
#54121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#54121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54121E
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54121E | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#34301C
Tritanopia (blue-blind)
#5D0217
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #54121e; /* rgb */ color: rgb(84, 18, 30); /* oklch */ color: oklch(30.1% 0.096 14.9);
Tailwind
colors: {
custom: {
50: '#895659',
500: '#54121e',
950: '#000000',
},
}SCSS
$custom: #54121e; $custom-light: #895659; $custom-dark: #000000;
JSON
{
"hex": "#54121e",
"rgb": {
"r": 84,
"g": 18,
"b": 30
},
"hsl": {
"h": 349.091,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.30105,
"c": 0.09633,
"h": 14.9
},
"luminance": 0.02411
}Semantic roles & 50–950 ramp
primary
#54121E
secondary
#358D7D
accent
#E8C940
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878