#54221F#54221F
#54221F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.075 H 25.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #54221F |
|---|---|
| RGB | rgb(84, 34, 31) |
| HSL | hsl(3, 46%, 23%) |
| HSV | hsv(3, 63%, 33%) |
| CMYK | cmyk(0%, 59.5%, 63.1%, 67.1%) |
| CIE-LAB | lab(20.55, 23.01, 13.38) |
| CIE-LCH | lch(20.55, 26.62, 30.18°) |
| OKLab | oklab(32.39% 0.068 0.0326) |
| OKLCH | oklch(32.39% 0.075 25.6) |
| XYZ | xyz(4.4759, 3.1283, 1.6642) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 7.05
Mahogany
#4A0100
ΔE00 7.11
Deep Brown
#410200
ΔE00 7.37
Claret
#680018
ΔE00 7.91
Rosewood
#65000B
ΔE00 8.04
Wine
#722F37
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54221F #1F5154
analogous
#541F37 #54221F #543C1F
triadic
#54221F #1F5422 #221F54
tetradic
#54221F #37541F #1F5154 #3C1F54
square
#54221F #37541F #1F5154 #3C1F54
split-complementary
#54221F #1F543C #1F3754
monochromatic
#160908 #27100F #54221F #81342F #AD4640
Accessibility & contrast
On white
12.92
#54221F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#54221F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54221F
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54221F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54221F | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#5C1922
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #54221f; /* rgb */ color: rgb(84, 34, 31); /* oklch */ color: oklch(32.4% 0.075 25.6);
Tailwind
colors: {
custom: {
50: '#885f5a',
500: '#54221f',
950: '#000000',
},
}SCSS
$custom: #54221f; $custom-light: #885f5a; $custom-dark: #000000;
JSON
{
"hex": "#54221f",
"rgb": {
"r": 84,
"g": 34,
"b": 31
},
"hsl": {
"h": 3.396,
"s": 46.087,
"l": 22.549
},
"oklch": {
"l": 0.32389,
"c": 0.07539,
"h": 25.6
},
"luminance": 0.03128
}Semantic roles & 50–950 ramp
primary
#54221F
secondary
#468589
accent
#CED652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978