#831B18#831B18
#831B18 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.140 H 27.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #831B18 |
|---|---|
| RGB | rgb(131, 27, 24) |
| HSL | hsl(2, 69%, 30%) |
| HSV | hsv(2, 82%, 51%) |
| CMYK | cmyk(0%, 79.4%, 81.7%, 48.6%) |
| CIE-LAB | lab(28.58, 43.23, 29.60) |
| CIE-LCH | lch(28.58, 52.39, 34.39°) |
| OKLab | oklab(40.1% 0.124 0.0643) |
| OKLCH | oklch(40.1% 0.14 27.4) |
| XYZ | xyz(9.9181, 5.6767, 1.4375) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.80
Indian Red
#850E04
ΔE00 3.98
Maroon
#800000
ΔE00 4.16
Dark Red
#840000
ΔE00 4.21
Blood
#770001
ΔE00 4.45
Darkred
#8B0000
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B18 #188083
analogous
#83184B #831B18 #835018
triadic
#831B18 #18831B #1B1883
tetradic
#831B18 #4B8318 #188083 #501883
square
#831B18 #4B8318 #188083 #501883
split-complementary
#831B18 #188350 #184B83
monochromatic
#1C0605 #4F100F #831B18 #B72621 #DB3F3A
Accessibility & contrast
On white
9.84
#831B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#831B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B18
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B18 | 1.00 | 9.84 | 2.14 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #831b18; /* rgb */ color: rgb(131, 27, 24); /* oklch */ color: oklch(40.1% 0.140 27.4);
Tailwind
colors: {
custom: {
50: '#af6155',
500: '#831b18',
950: '#000000',
},
}SCSS
$custom: #831b18; $custom-light: #af6155; $custom-dark: #000000;
JSON
{
"hex": "#831b18",
"rgb": {
"r": 131,
"g": 27,
"b": 24
},
"hsl": {
"h": 1.682,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.401,
"c": 0.13967,
"h": 27.4
},
"luminance": 0.05675
}Semantic roles & 50–950 ramp
primary
#831B18
secondary
#40B4B7
accent
#E7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78