#821F28#821F28
#821F28 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.133 H 20.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #821F28 |
|---|---|
| RGB | rgb(130, 31, 40) |
| HSL | hsl(355, 61%, 32%) |
| HSV | hsv(355, 76%, 51%) |
| CMYK | cmyk(0%, 76.2%, 69.2%, 49%) |
| CIE-LAB | lab(29.11, 42.24, 20.10) |
| CIE-LCH | lch(29.11, 46.77, 25.45°) |
| OKLab | oklab(40.53% 0.1246 0.0473) |
| OKLCH | oklch(40.53% 0.133 20.8) |
| XYZ | xyz(10.0800, 5.8805, 2.6114) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.33
Wine Red
#7B0323
ΔE00 4.08
Wine
#722F37
ΔE00 6.33
Claret
#680018
ΔE00 6.62
Red Wine
#8C0034
ΔE00 6.68
Bordeaux
#7B002C
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821F28 #1F8279
analogous
#821F5A #821F28 #82481F
triadic
#821F28 #28821F #1F2882
tetradic
#821F28 #5A821F #1F8279 #481F82
square
#821F28 #5A821F #1F8279 #481F82
split-complementary
#821F28 #1F8248 #1F5A82
monochromatic
#1F070A #511319 #821F28 #B32B37 #D34855
Accessibility & contrast
On white
9.65
#821F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#821F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821F28
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821F28 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#8F0023
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #821f28; /* rgb */ color: rgb(130, 31, 40); /* oklch */ color: oklch(40.5% 0.133 20.8);
Tailwind
colors: {
custom: {
50: '#ad6361',
500: '#821f28',
950: '#000000',
},
}SCSS
$custom: #821f28; $custom-light: #ad6361; $custom-dark: #000000;
JSON
{
"hex": "#821f28",
"rgb": {
"r": 130,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.545,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.40527,
"c": 0.13329,
"h": 20.8
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#821F28
secondary
#48B5AB
accent
#E5D643
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79