#81172C#81172C
#81172C is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.139 H 16.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #81172C |
|---|---|
| RGB | rgb(129, 23, 44) |
| HSL | hsl(348, 70%, 30%) |
| HSV | hsv(348, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 65.9%, 49.4%) |
| CIE-LAB | lab(28.02, 44.86, 16.02) |
| CIE-LCH | lch(28.02, 47.63, 19.66°) |
| OKLab | oklab(39.7% 0.1341 0.0386) |
| OKLCH | oklch(39.7% 0.139 16.1) |
| XYZ | xyz(9.8153, 5.4633, 2.9201) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.51
Burgundy
#800020
ΔE00 3.11
Bordeaux
#7B002C
ΔE00 3.77
Red Wine
#8C0034
ΔE00 3.93
Wine
#722F37
ΔE00 5.78
Cranberry
#9E003A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81172C #17816C
analogous
#811761 #81172C #813717
triadic
#81172C #2C8117 #172C81
tetradic
#81172C #618117 #17816C #371781
square
#81172C #618117 #17816C #371781
split-complementary
#81172C #178137 #176181
monochromatic
#1A0509 #4D0E1A #81172C #B5203E #DB3758
Accessibility & contrast
On white
10.04
#81172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#81172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81172C
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81172C | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#8E0020
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #81172c; /* rgb */ color: rgb(129, 23, 44); /* oklch */ color: oklch(39.7% 0.139 16.1);
Tailwind
colors: {
custom: {
50: '#ac6064',
500: '#81172c',
950: '#000000',
},
}SCSS
$custom: #81172c; $custom-light: #ac6064; $custom-dark: #000000;
JSON
{
"hex": "#81172c",
"rgb": {
"r": 129,
"g": 23,
"b": 44
},
"hsl": {
"h": 348.113,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.39704,
"c": 0.13949,
"h": 16.1
},
"luminance": 0.05462
}Semantic roles & 50–950 ramp
primary
#81172C
secondary
#3EB59E
accent
#EDC93B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A