#831B34#831B34
#831B34 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.138 H 12.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #831B34 |
|---|---|
| RGB | rgb(131, 27, 52) |
| HSL | hsl(346, 66%, 31%) |
| HSV | hsv(346, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 60.3%, 48.6%) |
| CIE-LAB | lab(29.05, 44.75, 12.13) |
| CIE-LCH | lch(29.05, 46.36, 15.17°) |
| OKLab | oklab(40.6% 0.135 0.0301) |
| OKLCH | oklch(40.6% 0.138 12.6) |
| XYZ | xyz(10.3729, 5.8586, 3.8328) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.67
Bordeaux
#7B002C
ΔE00 3.33
Wine Red
#7B0323
ΔE00 4.32
Cranberry
#9E003A
ΔE00 5.06
Burgundy
#800020
ΔE00 5.30
Wine
#722F37
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B34 #1B836A
analogous
#831B68 #831B34 #83361B
triadic
#831B34 #34831B #1B3483
tetradic
#831B34 #68831B #1B836A #361B83
square
#831B34 #68831B #1B836A #361B83
split-complementary
#831B34 #1B8336 #1B6883
monochromatic
#1E060C #501120 #831B34 #B62548 #D84165
Accessibility & contrast
On white
9.67
#831B34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#831B34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B34
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B34 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383734
Deuteranopia (green-blind)
#524C31
Tritanopia (blue-blind)
#900026
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b34; /* rgb */ color: rgb(131, 27, 52); /* oklch */ color: oklch(40.6% 0.138 12.6);
Tailwind
colors: {
custom: {
50: '#ad626b',
500: '#831b34',
950: '#000000',
},
}SCSS
$custom: #831b34; $custom-light: #ad626b; $custom-dark: #000000;
JSON
{
"hex": "#831b34",
"rgb": {
"r": 131,
"g": 27,
"b": 52
},
"hsl": {
"h": 345.577,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40601,
"c": 0.13833,
"h": 12.6
},
"luminance": 0.05857
}Semantic roles & 50–950 ramp
primary
#831B34
secondary
#43B69B
accent
#E9C03F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A