#81172A#81172A
#81172A is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.7% C 0.139 H 17.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #81172A |
|---|---|
| RGB | rgb(129, 23, 42) |
| HSL | hsl(349, 70%, 30%) |
| HSV | hsv(349, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 67.4%, 49.4%) |
| CIE-LAB | lab(27.98, 44.73, 17.31) |
| CIE-LCH | lch(27.98, 47.97, 21.15°) |
| OKLab | oklab(39.66% 0.1332 0.0413) |
| OKLCH | oklch(39.66% 0.139 17.2) |
| XYZ | xyz(9.7786, 5.4486, 2.7268) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.38
Burgundy
#800020
ΔE00 2.60
Bordeaux
#7B002C
ΔE00 4.35
Red Wine
#8C0034
ΔE00 4.56
Claret
#680018
ΔE00 5.88
Wine
#722F37
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81172A #17816E
analogous
#81175F #81172A #813917
triadic
#81172A #2A8117 #172A81
tetradic
#81172A #5F8117 #17816E #391781
square
#81172A #5F8117 #17816E #391781
split-complementary
#81172A #178139 #175F81
monochromatic
#1A0508 #4D0E19 #81172A #B5203B #DB3755
Accessibility & contrast
On white
10.05
#81172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#81172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81172A
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81172A | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#8E001F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #81172a; /* rgb */ color: rgb(129, 23, 42); /* oklch */ color: oklch(39.7% 0.139 17.2);
Tailwind
colors: {
custom: {
50: '#ad6063',
500: '#81172a',
950: '#000000',
},
}SCSS
$custom: #81172a; $custom-light: #ad6063; $custom-dark: #000000;
JSON
{
"hex": "#81172a",
"rgb": {
"r": 129,
"g": 23,
"b": 42
},
"hsl": {
"h": 349.245,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.39662,
"c": 0.13947,
"h": 17.2
},
"luminance": 0.05447
}Semantic roles & 50–950 ramp
primary
#81172A
secondary
#3EB5A0
accent
#EDCD3B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79