#831B23#831B23
#831B23 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.3% C 0.138 H 22.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #831B23 |
|---|---|
| RGB | rgb(131, 27, 35) |
| HSL | hsl(355, 66%, 31%) |
| HSV | hsv(355, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 73.3%, 48.6%) |
| CIE-LAB | lab(28.73, 43.70, 22.92) |
| CIE-LCH | lch(28.73, 49.35, 27.67°) |
| OKLab | oklab(40.25% 0.128 0.0527) |
| OKLCH | oklch(40.25% 0.138 22.4) |
| XYZ | xyz(10.0565, 5.7321, 2.1667) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.32
Wine Red
#7B0323
ΔE00 4.58
Crimson (survey)
#8C000F
ΔE00 5.39
Carmine
#9D0216
ΔE00 6.43
Claret
#680018
ΔE00 6.68
Rosewood
#65000B
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B23 #1B837B
analogous
#831B57 #831B23 #83471B
triadic
#831B23 #23831B #1B2383
tetradic
#831B23 #57831B #1B837B #471B83
square
#831B23 #57831B #1B837B #471B83
split-complementary
#831B23 #1B8347 #1B5783
monochromatic
#1E0608 #501115 #831B23 #B62531 #D8414C
Accessibility & contrast
On white
9.78
#831B23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831B23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B23
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B23 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3622
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b23; /* rgb */ color: rgb(131, 27, 35); /* oklch */ color: oklch(40.3% 0.138 22.4);
Tailwind
colors: {
custom: {
50: '#ae625e',
500: '#831b23',
950: '#000000',
},
}SCSS
$custom: #831b23; $custom-light: #ae625e; $custom-dark: #000000;
JSON
{
"hex": "#831b23",
"rgb": {
"r": 131,
"g": 27,
"b": 35
},
"hsl": {
"h": 355.385,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40253,
"c": 0.1384,
"h": 22.4
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#831B23
secondary
#43B6AE
accent
#E9DC3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79