#821A23#821A23
#821A23 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.138 H 22.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #821A23 |
|---|---|
| RGB | rgb(130, 26, 35) |
| HSL | hsl(355, 67%, 31%) |
| HSV | hsv(355, 80%, 51%) |
| CMYK | cmyk(0%, 80%, 73.1%, 49%) |
| CIE-LAB | lab(28.40, 43.71, 22.48) |
| CIE-LCH | lch(28.40, 49.16, 27.21°) |
| OKLab | oklab(39.97% 0.1282 0.0518) |
| OKLCH | oklch(39.97% 0.138 22) |
| XYZ | xyz(9.8798, 5.6075, 2.1519) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.02
Wine Red
#7B0323
ΔE00 4.23
Crimson (survey)
#8C000F
ΔE00 5.61
Claret
#680018
ΔE00 6.36
Carmine
#9D0216
ΔE00 6.72
Rosewood
#65000B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821A23 #1A8279
analogous
#821A57 #821A23 #82451A
triadic
#821A23 #23821A #1A2382
tetradic
#821A23 #57821A #1A8279 #451A82
square
#821A23 #57821A #1A8279 #451A82
split-complementary
#821A23 #1A8245 #1A5782
monochromatic
#1C0608 #4F1015 #821A23 #B52431 #D83E4B
Accessibility & contrast
On white
9.90
#821A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#821A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821A23
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821A23 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393522
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8F001E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #821a23; /* rgb */ color: rgb(130, 26, 35); /* oklch */ color: oklch(40.0% 0.138 22.0);
Tailwind
colors: {
custom: {
50: '#ae615d',
500: '#821a23',
950: '#000000',
},
}SCSS
$custom: #821a23; $custom-light: #ae615d; $custom-dark: #000000;
JSON
{
"hex": "#821a23",
"rgb": {
"r": 130,
"g": 26,
"b": 35
},
"hsl": {
"h": 354.808,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.39974,
"c": 0.13823,
"h": 22
},
"luminance": 0.05606
}Semantic roles & 50–950 ramp
primary
#821A23
secondary
#42B6AC
accent
#EADB3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79