#54121F#54121F
#54121F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 14.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #54121F |
|---|---|
| RGB | rgb(84, 18, 31) |
| HSL | hsl(348, 65%, 20%) |
| HSV | hsv(348, 79%, 33%) |
| CMYK | cmyk(0%, 78.6%, 63.1%, 67.1%) |
| CIE-LAB | lab(17.54, 31.08, 9.40) |
| CIE-LCH | lch(17.54, 32.47, 16.83°) |
| OKLab | oklab(30.13% 0.0935 0.0233) |
| OKLCH | oklch(30.13% 0.096 14) |
| XYZ | xyz(4.1202, 2.4169, 1.5456) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.13
Maroon (survey)
#650021
ΔE00 4.32
Dark Maroon
#3C0008
ΔE00 5.82
Claret
#680018
ΔE00 6.00
Deep Brown
#410200
ΔE00 6.75
Dried Blood
#4B0101
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54121F #125447
analogous
#541240 #54121F #542612
triadic
#54121F #1F5412 #121F54
tetradic
#54121F #405412 #125447 #261254
square
#54121F #405412 #125447 #261254
split-complementary
#54121F #125426 #124054
monochromatic
#190509 #22070C #54121F #861D32 #B92844
Accessibility & contrast
On white
14.16
#54121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#54121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54121F
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54121F | 1.00 | 14.16 | 1.48 | 14.16 |
| #FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#5D0217
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #54121f; /* rgb */ color: rgb(84, 18, 31); /* oklch */ color: oklch(30.1% 0.096 14.0);
Tailwind
colors: {
custom: {
50: '#89565a',
500: '#54121f',
950: '#000000',
},
}SCSS
$custom: #54121f; $custom-light: #89565a; $custom-dark: #000000;
JSON
{
"hex": "#54121f",
"rgb": {
"r": 84,
"g": 18,
"b": 31
},
"hsl": {
"h": 348.182,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.30131,
"c": 0.09638,
"h": 14
},
"luminance": 0.02416
}Semantic roles & 50–950 ramp
primary
#54121F
secondary
#358D7C
accent
#E8C740
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878