#831B27#831B27
#831B27 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.138 H 20.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #831B27 |
|---|---|
| RGB | rgb(131, 27, 39) |
| HSL | hsl(353, 66%, 31%) |
| HSV | hsv(353, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 70.2%, 48.6%) |
| CIE-LAB | lab(28.79, 43.91, 20.40) |
| CIE-LCH | lch(28.79, 48.42, 24.92°) |
| OKLab | oklab(40.32% 0.1296 0.0478) |
| OKLCH | oklch(40.32% 0.138 20.2) |
| XYZ | xyz(10.1193, 5.7572, 2.4975) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.76
Wine Red
#7B0323
ΔE00 3.62
Red Wine
#8C0034
ΔE00 6.30
Bordeaux
#7B002C
ΔE00 6.33
Claret
#680018
ΔE00 6.40
Wine
#722F37
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B27 #1B8377
analogous
#831B5B #831B27 #83431B
triadic
#831B27 #27831B #1B2783
tetradic
#831B27 #5B831B #1B8377 #431B83
square
#831B27 #5B831B #1B8377 #431B83
split-complementary
#831B27 #1B8343 #1B5B83
monochromatic
#1E0609 #501118 #831B27 #B62536 #D84152
Accessibility & contrast
On white
9.76
#831B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#831B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B27
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B27 | 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)
#3A3627
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b27; /* rgb */ color: rgb(131, 27, 39); /* oklch */ color: oklch(40.3% 0.138 20.2);
Tailwind
colors: {
custom: {
50: '#ae6261',
500: '#831b27',
950: '#000000',
},
}SCSS
$custom: #831b27; $custom-light: #ae6261; $custom-dark: #000000;
JSON
{
"hex": "#831b27",
"rgb": {
"r": 131,
"g": 27,
"b": 39
},
"hsl": {
"h": 353.077,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40323,
"c": 0.13813,
"h": 20.2
},
"luminance": 0.05756
}Semantic roles & 50–950 ramp
primary
#831B27
secondary
#43B6A9
accent
#E9D53F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79