#831C28#831C28
#831C28 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.137 H 20.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #831C28 |
|---|---|
| RGB | rgb(131, 28, 40) |
| HSL | hsl(353, 65%, 31%) |
| HSV | hsv(353, 79%, 51%) |
| CMYK | cmyk(0%, 78.6%, 69.5%, 48.6%) |
| CIE-LAB | lab(28.93, 43.63, 19.92) |
| CIE-LCH | lch(28.93, 47.96, 24.54°) |
| OKLab | oklab(40.43% 0.1289 0.0469) |
| OKLCH | oklch(40.43% 0.137 20) |
| XYZ | xyz(10.1594, 5.8105, 2.5937) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.88
Wine Red
#7B0323
ΔE00 3.62
Red Wine
#8C0034
ΔE00 6.14
Bordeaux
#7B002C
ΔE00 6.20
Claret
#680018
ΔE00 6.47
Wine
#722F37
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831C28 #1C8377
analogous
#831C5B #831C28 #83431C
triadic
#831C28 #28831C #1C2883
tetradic
#831C28 #5B831C #1C8377 #431C83
square
#831C28 #5B831C #1C8377 #431C83
split-complementary
#831C28 #1C8343 #1C5B83
monochromatic
#1E0609 #511119 #831C28 #B52737 #D74354
Accessibility & contrast
On white
9.71
#831C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#831C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831C28
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831C28 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 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: #831c28; /* rgb */ color: rgb(131, 28, 40); /* oklch */ color: oklch(40.4% 0.137 20.0);
Tailwind
colors: {
custom: {
50: '#ae6261',
500: '#831c28',
950: '#000000',
},
}SCSS
$custom: #831c28; $custom-light: #ae6261; $custom-dark: #000000;
JSON
{
"hex": "#831c28",
"rgb": {
"r": 131,
"g": 28,
"b": 40
},
"hsl": {
"h": 353.01,
"s": 64.78,
"l": 31.176
},
"oklch": {
"l": 0.40431,
"c": 0.13718,
"h": 20
},
"luminance": 0.05809
}Semantic roles & 50–950 ramp
primary
#831C28
secondary
#45B6A9
accent
#E8D440
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79