#821831#821831
#821831 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 13.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #821831 |
|---|---|
| RGB | rgb(130, 24, 49) |
| HSL | hsl(346, 69%, 30%) |
| HSV | hsv(346, 82%, 51%) |
| CMYK | cmyk(0%, 81.5%, 62.3%, 49%) |
| CIE-LAB | lab(28.44, 45.19, 13.28) |
| CIE-LCH | lch(28.44, 47.10, 16.37°) |
| OKLab | oklab(40.09% 0.136 0.0326) |
| OKLCH | oklch(40.09% 0.14 13.5) |
| XYZ | xyz(10.0880, 5.6224, 3.4592) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.78
Bordeaux
#7B002C
ΔE00 3.03
Wine Red
#7B0323
ΔE00 3.56
Burgundy
#800020
ΔE00 4.54
Cranberry
#9E003A
ΔE00 5.29
Wine
#722F37
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#821831 #188269
analogous
#821866 #821831 #823418
triadic
#821831 #318218 #183182
tetradic
#821831 #668218 #188269 #341882
square
#821831 #668218 #188269 #341882
split-complementary
#821831 #188234 #186682
monochromatic
#1B050A #4E0E1E #821831 #B62244 #DB3A60
Accessibility & contrast
On white
9.89
#821831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#821831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #821831
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##821831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##821831 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363531
Deuteranopia (green-blind)
#514B2E
Tritanopia (blue-blind)
#8F0023
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #821831; /* rgb */ color: rgb(130, 24, 49); /* oklch */ color: oklch(40.1% 0.140 13.5);
Tailwind
colors: {
custom: {
50: '#ad6168',
500: '#821831',
950: '#000000',
},
}SCSS
$custom: #821831; $custom-light: #ad6168; $custom-dark: #000000;
JSON
{
"hex": "#821831",
"rgb": {
"r": 130,
"g": 24,
"b": 49
},
"hsl": {
"h": 345.849,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.40088,
"c": 0.13986,
"h": 13.5
},
"luminance": 0.05621
}Semantic roles & 50–950 ramp
primary
#821831
secondary
#40B69A
accent
#ECC23C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A