#831B1F#831B1F
#831B1F is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 24.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #831B1F |
|---|---|
| RGB | rgb(131, 27, 31) |
| HSL | hsl(358, 66%, 31%) |
| HSV | hsv(358, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 76.3%, 48.6%) |
| CIE-LAB | lab(28.67, 43.51, 25.40) |
| CIE-LCH | lch(28.67, 50.38, 30.27°) |
| OKLab | oklab(40.19% 0.1265 0.0572) |
| OKLCH | oklch(40.19% 0.139 24.4) |
| XYZ | xyz(10.0005, 5.7097, 1.8716) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.18
Burgundy
#800020
ΔE00 4.33
Carmine
#9D0216
ΔE00 5.60
Wine Red
#7B0323
ΔE00 5.74
Blood
#770001
ΔE00 6.02
Maroon
#800000
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B1F #1B837F
analogous
#831B53 #831B1F #834B1B
triadic
#831B1F #1F831B #1B1F83
tetradic
#831B1F #53831B #1B837F #4B1B83
square
#831B1F #53831B #1B837F #4B1B83
split-complementary
#831B1F #1B834B #1B5383
monochromatic
#1E0607 #501113 #831B1F #B6252B #D84146
Accessibility & contrast
On white
9.81
#831B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#831B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B1F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B1F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B351E
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #831b1f; /* rgb */ color: rgb(131, 27, 31); /* oklch */ color: oklch(40.2% 0.139 24.4);
Tailwind
colors: {
custom: {
50: '#af615a',
500: '#831b1f',
950: '#000000',
},
}SCSS
$custom: #831b1f; $custom-light: #af615a; $custom-dark: #000000;
JSON
{
"hex": "#831b1f",
"rgb": {
"r": 131,
"g": 27,
"b": 31
},
"hsl": {
"h": 357.692,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.40191,
"c": 0.1388,
"h": 24.4
},
"luminance": 0.05708
}Semantic roles & 50–950 ramp
primary
#831B1F
secondary
#43B6B2
accent
#E9E23F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79