#821B28#821B28
#821B28 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.137 H 19.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #821B28 |
|---|---|
| RGB | rgb(130, 27, 40) |
| HSL | hsl(352, 66%, 31%) |
| HSV | hsv(352, 79%, 51%) |
| CMYK | cmyk(0%, 79.2%, 69.2%, 49%) |
| CIE-LAB | lab(28.60, 43.65, 19.46) |
| CIE-LCH | lch(28.60, 47.79, 24.03°) |
| OKLab | oklab(40.15% 0.1291 0.0459) |
| OKLCH | oklch(40.15% 0.137 19.6) |
| XYZ | xyz(9.9820, 5.6844, 2.5787) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.68
Wine Red
#7B0323
ΔE00 3.29
Bordeaux
#7B002C
ΔE00 5.85
Red Wine
#8C0034
ΔE00 5.90
Claret
#680018
ΔE00 6.20
Wine
#722F37
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821B28 #1B8275
analogous
#821B5B #821B28 #82411B
triadic
#821B28 #28821B #1B2882
tetradic
#821B28 #5B821B #1B8275 #411B82
square
#821B28 #5B821B #1B8275 #411B82
split-complementary
#821B28 #1B8241 #1B5B82
monochromatic
#1D0609 #4F1018 #821B28 #B52638 #D74053
Accessibility & contrast
On white
9.83
#821B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#821B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821B28
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821B28 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#8F0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #821b28; /* rgb */ color: rgb(130, 27, 40); /* oklch */ color: oklch(40.2% 0.137 19.6);
Tailwind
colors: {
custom: {
50: '#ad6261',
500: '#821b28',
950: '#000000',
},
}SCSS
$custom: #821b28; $custom-light: #ad6261; $custom-dark: #000000;
JSON
{
"hex": "#821b28",
"rgb": {
"r": 130,
"g": 27,
"b": 40
},
"hsl": {
"h": 352.427,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.40151,
"c": 0.13705,
"h": 19.6
},
"luminance": 0.05683
}Semantic roles & 50–950 ramp
primary
#821B28
secondary
#43B6A7
accent
#E9D33F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79