#831B28#831B28
#831B28 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.138 H 19.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #831B28 |
|---|---|
| RGB | rgb(131, 27, 40) |
| HSL | hsl(353, 66%, 31%) |
| HSV | hsv(353, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 69.5%, 48.6%) |
| CIE-LAB | lab(28.81, 43.97, 19.77) |
| CIE-LCH | lch(28.81, 48.21, 24.21°) |
| OKLab | oklab(40.34% 0.13 0.0465) |
| OKLCH | oklch(40.34% 0.138 19.7) |
| XYZ | xyz(10.1361, 5.7639, 2.5859) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.74
Wine Red
#7B0323
ΔE00 3.44
Red Wine
#8C0034
ΔE00 5.96
Bordeaux
#7B002C
ΔE00 6.01
Claret
#680018
ΔE00 6.38
Wine
#722F37
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B28 #1B8376
analogous
#831B5C #831B28 #83421B
triadic
#831B28 #28831B #1B2883
tetradic
#831B28 #5C831B #1B8376 #421B83
square
#831B28 #5C831B #1B8376 #421B83
split-complementary
#831B28 #1B8342 #1B5C83
monochromatic
#1E0609 #501119 #831B28 #B62537 #D84154
Accessibility & contrast
On white
9.76
#831B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B28
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B28 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3628
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#900021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b28; /* rgb */ color: rgb(131, 27, 40); /* oklch */ color: oklch(40.3% 0.138 19.7);
Tailwind
colors: {
custom: {
50: '#ae6261',
500: '#831b28',
950: '#000000',
},
}SCSS
$custom: #831b28; $custom-light: #ae6261; $custom-dark: #000000;
JSON
{
"hex": "#831b28",
"rgb": {
"r": 131,
"g": 27,
"b": 40
},
"hsl": {
"h": 352.5,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40341,
"c": 0.13808,
"h": 19.7
},
"luminance": 0.05762
}Semantic roles & 50–950 ramp
primary
#831B28
secondary
#43B6A8
accent
#E9D43F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79