#831B22#831B22
#831B22 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.138 H 22.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #831B22 |
|---|---|
| RGB | rgb(131, 27, 34) |
| HSL | hsl(356, 66%, 31%) |
| HSV | hsv(356, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 74%, 48.6%) |
| CIE-LAB | lab(28.71, 43.65, 23.54) |
| CIE-LCH | lch(28.71, 49.60, 28.34°) |
| OKLab | oklab(40.24% 0.1276 0.0538) |
| OKLCH | oklch(40.24% 0.138 22.9) |
| XYZ | xyz(10.0419, 5.7262, 2.0896) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.54
Wine Red
#7B0323
ΔE00 4.85
Crimson (survey)
#8C000F
ΔE00 5.07
Carmine
#9D0216
ΔE00 6.20
Claret
#680018
ΔE00 6.79
Blood
#770001
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B22 #1B837C
analogous
#831B56 #831B22 #83481B
triadic
#831B22 #22831B #1B2283
tetradic
#831B22 #56831B #1B837C #481B83
square
#831B22 #56831B #1B837C #481B83
split-complementary
#831B22 #1B8348 #1B5683
monochromatic
#1E0608 #501115 #831B22 #B6252F #D8414B
Accessibility & contrast
On white
9.79
#831B22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831B22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B22
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B22 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b22; /* rgb */ color: rgb(131, 27, 34); /* oklch */ color: oklch(40.2% 0.138 22.9);
Tailwind
colors: {
custom: {
50: '#af625d',
500: '#831b22',
950: '#000000',
},
}SCSS
$custom: #831b22; $custom-light: #af625d; $custom-dark: #000000;
JSON
{
"hex": "#831b22",
"rgb": {
"r": 131,
"g": 27,
"b": 34
},
"hsl": {
"h": 355.962,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40237,
"c": 0.13849,
"h": 22.9
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#831B22
secondary
#43B6AF
accent
#E9DD3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79