#81171F#81171F
#81171F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.140 H 23.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #81171F |
|---|---|
| RGB | rgb(129, 23, 31) |
| HSL | hsl(355, 70%, 30%) |
| HSV | hsv(355, 82%, 51%) |
| CMYK | cmyk(0%, 82.2%, 76%, 49.4%) |
| CIE-LAB | lab(27.79, 44.16, 24.29) |
| CIE-LCH | lch(27.79, 50.40, 28.81°) |
| OKLab | oklab(39.47% 0.1288 0.0549) |
| OKLCH | oklch(39.47% 0.14 23.1) |
| XYZ | xyz(9.6081, 5.3804, 1.8287) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.32
Wine Red
#7B0323
ΔE00 4.72
Crimson (survey)
#8C000F
ΔE00 4.73
Blood
#770001
ΔE00 6.25
Carmine
#9D0216
ΔE00 6.27
Claret
#680018
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81171F #178179
analogous
#811754 #81171F #814417
triadic
#81171F #1F8117 #171F81
tetradic
#81171F #548117 #178179 #441781
square
#81171F #548117 #178179 #441781
split-complementary
#81171F #178144 #175481
monochromatic
#1A0506 #4D0E13 #81171F #B5202B #DB3743
Accessibility & contrast
On white
10.12
#81171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#81171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81171F
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81171F | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#8E001B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #81171f; /* rgb */ color: rgb(129, 23, 31); /* oklch */ color: oklch(39.5% 0.140 23.1);
Tailwind
colors: {
custom: {
50: '#ad605a',
500: '#81171f',
950: '#000000',
},
}SCSS
$custom: #81171f; $custom-light: #ad605a; $custom-dark: #000000;
JSON
{
"hex": "#81171f",
"rgb": {
"r": 129,
"g": 23,
"b": 31
},
"hsl": {
"h": 355.472,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.39466,
"c": 0.14001,
"h": 23.1
},
"luminance": 0.05379
}Semantic roles & 50–950 ramp
primary
#81171F
secondary
#3EB5AC
accent
#EDDF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979