#831F27#831F27
#831F27 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.134 H 21.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #831F27 |
|---|---|
| RGB | rgb(131, 31, 39) |
| HSL | hsl(355, 62%, 32%) |
| HSV | hsv(355, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 70.2%, 48.6%) |
| CIE-LAB | lab(29.29, 42.51, 21.02) |
| CIE-LCH | lch(29.29, 47.42, 26.31°) |
| OKLab | oklab(40.7% 0.1251 0.0492) |
| OKLCH | oklch(40.7% 0.134 21.5) |
| XYZ | xyz(10.2174, 5.9533, 2.5302) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.48
Wine Red
#7B0323
ΔE00 4.41
Crimson (survey)
#8C000F
ΔE00 6.35
Wine
#722F37
ΔE00 6.72
Claret
#680018
ΔE00 6.85
Red Wine
#8C0034
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F27 #1F837B
analogous
#831F59 #831F27 #83491F
triadic
#831F27 #27831F #1F2783
tetradic
#831F27 #59831F #1F837B #491F83
square
#831F27 #59831F #1F837B #491F83
split-complementary
#831F27 #1F8349 #1F5983
monochromatic
#20080A #521318 #831F27 #B42B36 #D44954
Accessibility & contrast
On white
9.59
#831F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#831F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F27
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F27 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3726
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #831f27; /* rgb */ color: rgb(131, 31, 39); /* oklch */ color: oklch(40.7% 0.134 21.5);
Tailwind
colors: {
custom: {
50: '#ae6361',
500: '#831f27',
950: '#000000',
},
}SCSS
$custom: #831f27; $custom-light: #ae6361; $custom-dark: #000000;
JSON
{
"hex": "#831f27",
"rgb": {
"r": 131,
"g": 31,
"b": 39
},
"hsl": {
"h": 355.2,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.40696,
"c": 0.13443,
"h": 21.5
},
"luminance": 0.05952
}Semantic roles & 50–950 ramp
primary
#831F27
secondary
#48B6AD
accent
#E5D843
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79