#831B31#831B31
#831B31 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.138 H 14.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #831B31 |
|---|---|
| RGB | rgb(131, 27, 49) |
| HSL | hsl(347, 66%, 31%) |
| HSV | hsv(347, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 62.6%, 48.6%) |
| CIE-LAB | lab(28.99, 44.53, 14.04) |
| CIE-LCH | lch(28.99, 46.69, 17.50°) |
| OKLab | oklab(40.53% 0.1338 0.0344) |
| OKLCH | oklch(40.53% 0.138 14.4) |
| XYZ | xyz(10.3074, 5.8324, 3.4882) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.20
Wine Red
#7B0323
ΔE00 3.63
Bordeaux
#7B002C
ΔE00 3.67
Burgundy
#800020
ΔE00 4.38
Cranberry
#9E003A
ΔE00 5.27
Wine
#722F37
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B31 #1B836D
analogous
#831B65 #831B31 #83391B
triadic
#831B31 #31831B #1B3183
tetradic
#831B31 #65831B #1B836D #391B83
square
#831B31 #65831B #1B836D #391B83
split-complementary
#831B31 #1B8339 #1B6583
monochromatic
#1E060B #50111E #831B31 #B62544 #D84161
Accessibility & contrast
On white
9.69
#831B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#831B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B31
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B31 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383731
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#900024
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b31; /* rgb */ color: rgb(131, 27, 49); /* oklch */ color: oklch(40.5% 0.138 14.4);
Tailwind
colors: {
custom: {
50: '#ad6268',
500: '#831b31',
950: '#000000',
},
}SCSS
$custom: #831b31; $custom-light: #ad6268; $custom-dark: #000000;
JSON
{
"hex": "#831b31",
"rgb": {
"r": 131,
"g": 27,
"b": 49
},
"hsl": {
"h": 347.308,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40529,
"c": 0.13811,
"h": 14.4
},
"luminance": 0.05831
}Semantic roles & 50–950 ramp
primary
#831B31
secondary
#43B69E
accent
#E9C53F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A