#831B21#831B21
#831B21 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 23.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #831B21 |
|---|---|
| RGB | rgb(131, 27, 33) |
| HSL | hsl(357, 66%, 31%) |
| HSV | hsv(357, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 74.8%, 48.6%) |
| CIE-LAB | lab(28.70, 43.60, 24.16) |
| CIE-LCH | lch(28.70, 49.85, 28.99°) |
| OKLab | oklab(40.22% 0.1272 0.055) |
| OKLCH | oklch(40.22% 0.139 23.4) |
| XYZ | xyz(10.0277, 5.7205, 2.0147) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.79
Crimson (survey)
#8C000F
ΔE00 4.76
Wine Red
#7B0323
ΔE00 5.14
Carmine
#9D0216
ΔE00 5.98
Blood
#770001
ΔE00 6.60
Maroon
#800000
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B21 #1B837D
analogous
#831B55 #831B21 #83491B
triadic
#831B21 #21831B #1B2183
tetradic
#831B21 #55831B #1B837D #491B83
square
#831B21 #55831B #1B837D #491B83
split-complementary
#831B21 #1B8349 #1B5583
monochromatic
#1E0607 #501114 #831B21 #B6252E #D84149
Accessibility & contrast
On white
9.80
#831B21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#831B21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B21
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B21 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3520
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b21; /* rgb */ color: rgb(131, 27, 33); /* oklch */ color: oklch(40.2% 0.139 23.4);
Tailwind
colors: {
custom: {
50: '#af625c',
500: '#831b21',
950: '#000000',
},
}SCSS
$custom: #831b21; $custom-light: #af625c; $custom-dark: #000000;
JSON
{
"hex": "#831b21",
"rgb": {
"r": 131,
"g": 27,
"b": 33
},
"hsl": {
"h": 356.538,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40221,
"c": 0.13859,
"h": 23.4
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#831B21
secondary
#43B6B0
accent
#E9DF3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79