#81172E#81172E
#81172E is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.140 H 14.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #81172E |
|---|---|
| RGB | rgb(129, 23, 46) |
| HSL | hsl(347, 70%, 30%) |
| HSV | hsv(347, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 64.3%, 49.4%) |
| CIE-LAB | lab(28.06, 44.98, 14.74) |
| CIE-LCH | lch(28.06, 47.34, 18.14°) |
| OKLab | oklab(39.75% 0.1349 0.0358) |
| OKLCH | oklch(39.75% 0.14 14.9) |
| XYZ | xyz(9.8538, 5.4787, 3.1229) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.83
Bordeaux
#7B002C
ΔE00 3.26
Red Wine
#8C0034
ΔE00 3.37
Burgundy
#800020
ΔE00 3.70
Wine
#722F37
ΔE00 5.63
Cranberry
#9E003A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81172E #17816A
analogous
#811763 #81172E #813517
triadic
#81172E #2E8117 #172E81
tetradic
#81172E #638117 #17816A #351781
square
#81172E #638117 #17816A #351781
split-complementary
#81172E #178135 #176381
monochromatic
#1A0509 #4D0E1B #81172E #B52041 #DB375B
Accessibility & contrast
On white
10.02
#81172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#81172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81172E
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81172E | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342E
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#8E0021
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #81172e; /* rgb */ color: rgb(129, 23, 46); /* oklch */ color: oklch(39.7% 0.140 14.9);
Tailwind
colors: {
custom: {
50: '#ac6066',
500: '#81172e',
950: '#000000',
},
}SCSS
$custom: #81172e; $custom-light: #ac6066; $custom-dark: #000000;
JSON
{
"hex": "#81172e",
"rgb": {
"r": 129,
"g": 23,
"b": 46
},
"hsl": {
"h": 346.981,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.39748,
"c": 0.13956,
"h": 14.9
},
"luminance": 0.05477
}Semantic roles & 50–950 ramp
primary
#81172E
secondary
#3EB59C
accent
#EDC63B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A