#831A2B#831A2B
#831A2B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.3% C 0.139 H 17.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #831A2B |
|---|---|
| RGB | rgb(131, 26, 43) |
| HSL | hsl(350, 67%, 31%) |
| HSV | hsv(350, 80%, 51%) |
| CMYK | cmyk(0%, 80.2%, 67.2%, 48.6%) |
| CIE-LAB | lab(28.75, 44.47, 17.71) |
| CIE-LCH | lch(28.75, 47.87, 21.72°) |
| OKLab | oklab(40.31% 0.1323 0.0423) |
| OKLCH | oklch(40.31% 0.139 17.7) |
| XYZ | xyz(10.1666, 5.7400, 2.8576) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.90
Wine Red
#7B0323
ΔE00 2.98
Red Wine
#8C0034
ΔE00 4.77
Bordeaux
#7B002C
ΔE00 4.91
Wine
#722F37
ΔE00 5.99
Cranberry
#9E003A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831A2B #1A8372
analogous
#831A5F #831A2B #833D1A
triadic
#831A2B #2B831A #1A2B83
tetradic
#831A2B #5F831A #1A8372 #3D1A83
square
#831A2B #5F831A #1A8372 #3D1A83
split-complementary
#831A2B #1A833D #1A5F83
monochromatic
#1D0609 #50101A #831A2B #B6243C #D93F58
Accessibility & contrast
On white
9.78
#831A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831A2B
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831A2B | 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)
#39362B
Deuteranopia (green-blind)
#534C28
Tritanopia (blue-blind)
#900021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831a2b; /* rgb */ color: rgb(131, 26, 43); /* oklch */ color: oklch(40.3% 0.139 17.7);
Tailwind
colors: {
custom: {
50: '#ae6164',
500: '#831a2b',
950: '#000000',
},
}SCSS
$custom: #831a2b; $custom-light: #ae6164; $custom-dark: #000000;
JSON
{
"hex": "#831a2b",
"rgb": {
"r": 131,
"g": 26,
"b": 43
},
"hsl": {
"h": 350.286,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.40313,
"c": 0.13889,
"h": 17.7
},
"luminance": 0.05739
}Semantic roles & 50–950 ramp
primary
#831A2B
secondary
#42B7A4
accent
#EACE3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120505
muted
#817A79