#54151B#54151B
#54151B is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.093 H 19.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #54151B |
|---|---|
| RGB | rgb(84, 21, 27) |
| HSL | hsl(354, 60%, 21%) |
| HSV | hsv(354, 75%, 33%) |
| CMYK | cmyk(0%, 75%, 67.9%, 67.1%) |
| CIE-LAB | lab(17.92, 29.46, 12.75) |
| CIE-LCH | lch(17.92, 32.10, 23.40°) |
| OKLab | oklab(30.39% 0.0875 0.0307) |
| OKLCH | oklch(30.39% 0.093 19.3) |
| XYZ | xyz(4.1226, 2.5009, 1.3023) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.19
Claret
#680018
ΔE00 5.28
Mahogany
#4A0100
ΔE00 5.32
Deep Brown
#410200
ΔE00 5.48
Maroon (survey)
#650021
ΔE00 5.55
Burgundy (survey)
#610023
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54151B #15544E
analogous
#54153A #54151B #542E15
triadic
#54151B #1B5415 #151B54
tetradic
#54151B #3A5415 #15544E #2E1554
square
#54151B #3A5415 #15544E #2E1554
split-complementary
#54151B #15542E #153A54
monochromatic
#180608 #23090B #54151B #85212B #B62D3A
Accessibility & contrast
On white
14.00
#54151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#54151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54151B
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54151B | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#5D0518
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #54151b; /* rgb */ color: rgb(84, 21, 27); /* oklch */ color: oklch(30.4% 0.093 19.3);
Tailwind
colors: {
custom: {
50: '#895757',
500: '#54151b',
950: '#000000',
},
}SCSS
$custom: #54151b; $custom-light: #895757; $custom-dark: #000000;
JSON
{
"hex": "#54151b",
"rgb": {
"r": 84,
"g": 21,
"b": 27
},
"hsl": {
"h": 354.286,
"s": 60,
"l": 20.588
},
"oklch": {
"l": 0.30387,
"c": 0.09277,
"h": 19.3
},
"luminance": 0.025
}Semantic roles & 50–950 ramp
primary
#54151B
secondary
#398C84
accent
#E3D445
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878