#831F17#831F17
#831F17 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.136 H 29.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #831F17 |
|---|---|
| RGB | rgb(131, 31, 23) |
| HSL | hsl(4, 70%, 30%) |
| HSV | hsv(4, 82%, 51%) |
| CMYK | cmyk(0%, 76.3%, 82.4%, 48.6%) |
| CIE-LAB | lab(29.08, 41.78, 30.69) |
| CIE-LCH | lch(29.08, 51.84, 36.29°) |
| OKLab | oklab(40.47% 0.1192 0.0664) |
| OKLCH | oklch(40.47% 0.136 29.1) |
| XYZ | xyz(10.0059, 5.8687, 1.4164) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.22
Indian Red
#850E04
ΔE00 3.40
Dark Red
#840000
ΔE00 3.93
Maroon
#800000
ΔE00 3.97
Darkred
#8B0000
ΔE00 4.20
Blood
#770001
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F17 #177B83
analogous
#831745 #831F17 #835517
triadic
#831F17 #17831F #1F1783
tetradic
#831F17 #458317 #177B83 #551783
square
#831F17 #458317 #177B83 #551783
split-complementary
#831F17 #178355 #174583
monochromatic
#1B0605 #4F130E #831F17 #B72B20 #DC4438
Accessibility & contrast
On white
9.66
#831F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#831F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F17
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F17 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3715
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #831f17; /* rgb */ color: rgb(131, 31, 23); /* oklch */ color: oklch(40.5% 0.136 29.1);
Tailwind
colors: {
custom: {
50: '#af6355',
500: '#831f17',
950: '#000000',
},
}SCSS
$custom: #831f17; $custom-light: #af6355; $custom-dark: #000000;
JSON
{
"hex": "#831f17",
"rgb": {
"r": 131,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.444,
"s": 70.13,
"l": 30.196
},
"oklch": {
"l": 0.40467,
"c": 0.13644,
"h": 29.1
},
"luminance": 0.05867
}Semantic roles & 50–950 ramp
primary
#831F17
secondary
#3FAEB7
accent
#E0ED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78