#54180F#54180F
#54180F is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.091 H 31.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #54180F |
|---|---|
| RGB | rgb(84, 24, 15) |
| HSL | hsl(8, 70%, 19%) |
| HSV | hsv(8, 82%, 33%) |
| CMYK | cmyk(0%, 71.4%, 82.1%, 67.1%) |
| CIE-LAB | lab(18.25, 27.31, 20.96) |
| CIE-LCH | lch(18.25, 34.42, 37.51°) |
| OKLab | oklab(30.57% 0.0779 0.0473) |
| OKLCH | oklch(30.57% 0.091 31.3) |
| XYZ | xyz(4.0695, 2.5732, 0.7342) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.91
Mahogany
#4A0100
ΔE00 4.93
Rosewood
#65000B
ΔE00 5.62
Deep Brown
#410200
ΔE00 6.29
Reddy Brown
#6E1005
ΔE00 6.39
Chocolate Brown
#411900
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54180F #0F4B54
analogous
#540F29 #54180F #543B0F
triadic
#54180F #0F5418 #180F54
tetradic
#54180F #29540F #0F4B54 #3B0F54
square
#54180F #29540F #0F4B54 #3B0F54
split-complementary
#54180F #0F543B #0F2954
monochromatic
#1A0705 #200906 #54180F #882718 #BC3622
Accessibility & contrast
On white
13.87
#54180F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#54180F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54180F
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54180F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54180F | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#5D0716
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #54180f; /* rgb */ color: rgb(84, 24, 15); /* oklch */ color: oklch(30.6% 0.091 31.3);
Tailwind
colors: {
custom: {
50: '#8a584e',
500: '#54180f',
950: '#000000',
},
}SCSS
$custom: #54180f; $custom-light: #8a584e; $custom-dark: #000000;
JSON
{
"hex": "#54180f",
"rgb": {
"r": 84,
"g": 24,
"b": 15
},
"hsl": {
"h": 7.826,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30565,
"c": 0.09116,
"h": 31.3
},
"luminance": 0.02573
}Semantic roles & 50–950 ramp
primary
#54180F
secondary
#31828E
accent
#D5ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877