#81171A#81171A
#81171A is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.141 H 25.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #81171A |
|---|---|
| RGB | rgb(129, 23, 26) |
| HSL | hsl(358, 70%, 30%) |
| HSV | hsv(358, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 79.8%, 49.4%) |
| CIE-LAB | lab(27.73, 43.95, 27.36) |
| CIE-LCH | lch(27.73, 51.77, 31.90°) |
| OKLab | oklab(39.4% 0.1269 0.0603) |
| OKLCH | oklch(39.4% 0.141 25.4) |
| XYZ | xyz(9.5473, 5.3560, 1.5082) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.37
Blood
#770001
ΔE00 4.81
Burgundy
#800020
ΔE00 4.85
Maroon
#800000
ΔE00 5.00
Dark Red
#840000
ΔE00 5.20
Indian Red
#850E04
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81171A #17817E
analogous
#81174F #81171A #814917
triadic
#81171A #1A8117 #171A81
tetradic
#81171A #4F8117 #17817E #491781
square
#81171A #4F8117 #17817E #491781
split-complementary
#81171A #178149 #174F81
monochromatic
#1A0505 #4D0E10 #81171A #B52024 #DB373C
Accessibility & contrast
On white
10.14
#81171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#81171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81171A
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81171A | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#8F001A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #81171a; /* rgb */ color: rgb(129, 23, 26); /* oklch */ color: oklch(39.4% 0.141 25.4);
Tailwind
colors: {
custom: {
50: '#ae5f57',
500: '#81171a',
950: '#000000',
},
}SCSS
$custom: #81171a; $custom-light: #ae5f57; $custom-dark: #000000;
JSON
{
"hex": "#81171a",
"rgb": {
"r": 129,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.302,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.39396,
"c": 0.14052,
"h": 25.4
},
"luminance": 0.05355
}Semantic roles & 50–950 ramp
primary
#81171A
secondary
#3EB5B2
accent
#EDE83B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978