#831A1B#831A1B
#831A1B is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 25.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #831A1B |
|---|---|
| RGB | rgb(131, 26, 27) |
| HSL | hsl(359, 67%, 31%) |
| HSV | hsv(359, 80%, 51%) |
| CMYK | cmyk(0%, 80.2%, 79.4%, 48.6%) |
| CIE-LAB | lab(28.50, 43.68, 27.70) |
| CIE-LCH | lch(28.50, 51.72, 32.38°) |
| OKLab | oklab(40.05% 0.126 0.0612) |
| OKLCH | oklch(40.05% 0.14 25.9) |
| XYZ | xyz(9.9285, 5.6448, 1.6035) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.23
Maroon
#800000
ΔE00 5.02
Blood
#770001
ΔE00 5.04
Indian Red
#850E04
ΔE00 5.05
Carmine
#9D0216
ΔE00 5.10
Dark Red
#840000
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831A1B #1A8382
analogous
#831A4F #831A1B #834D1A
triadic
#831A1B #1B831A #1A1B83
tetradic
#831A1B #4F831A #1A8382 #4D1A83
square
#831A1B #4F831A #1A8382 #4D1A83
split-complementary
#831A1B #1A834D #1A4F83
monochromatic
#1D0606 #501010 #831A1B #B62426 #D93F40
Accessibility & contrast
On white
9.87
#831A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#831A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831A1B
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831A1B | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#554B17
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #831a1b; /* rgb */ color: rgb(131, 26, 27); /* oklch */ color: oklch(40.0% 0.140 25.9);
Tailwind
colors: {
custom: {
50: '#af6157',
500: '#831a1b',
950: '#000000',
},
}SCSS
$custom: #831a1b; $custom-light: #af6157; $custom-dark: #000000;
JSON
{
"hex": "#831a1b",
"rgb": {
"r": 131,
"g": 26,
"b": 27
},
"hsl": {
"h": 359.429,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.40049,
"c": 0.1401,
"h": 25.9
},
"luminance": 0.05643
}Semantic roles & 50–950 ramp
primary
#831A1B
secondary
#42B7B6
accent
#EAE83E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78