#54170F#54170F
#54170F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.092 H 30.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #54170F |
|---|---|
| RGB | rgb(84, 23, 15) |
| HSL | hsl(7, 70%, 19%) |
| HSV | hsv(7, 82%, 33%) |
| CMYK | cmyk(0%, 72.6%, 82.1%, 67.1%) |
| CIE-LAB | lab(18.07, 27.79, 20.74) |
| CIE-LCH | lch(18.07, 34.68, 36.74°) |
| OKLab | oklab(30.43% 0.0795 0.0469) |
| OKLCH | oklch(30.43% 0.092 30.5) |
| XYZ | xyz(4.0492, 2.5327, 0.7275) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.58
Mahogany
#4A0100
ΔE00 4.62
Rosewood
#65000B
ΔE00 5.36
Deep Brown
#410200
ΔE00 6.02
Reddy Brown
#6E1005
ΔE00 6.41
Chocolate Brown
#411900
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54170F #0F4C54
analogous
#540F29 #54170F #543A0F
triadic
#54170F #0F5417 #170F54
tetradic
#54170F #29540F #0F4C54 #3A0F54
square
#54170F #29540F #0F4C54 #3A0F54
split-complementary
#54170F #0F543A #0F2954
monochromatic
#1A0705 #200906 #54170F #882518 #BC3322
Accessibility & contrast
On white
13.94
#54170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#54170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54170F
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54170F | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#5D0616
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #54170f; /* rgb */ color: rgb(84, 23, 15); /* oklch */ color: oklch(30.4% 0.092 30.5);
Tailwind
colors: {
custom: {
50: '#8a584e',
500: '#54170f',
950: '#000000',
},
}SCSS
$custom: #54170f; $custom-light: #8a584e; $custom-dark: #000000;
JSON
{
"hex": "#54170f",
"rgb": {
"r": 84,
"g": 23,
"b": 15
},
"hsl": {
"h": 6.957,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.3043,
"c": 0.09225,
"h": 30.5
},
"luminance": 0.02532
}Semantic roles & 50–950 ramp
primary
#54170F
secondary
#31838E
accent
#D8ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877