#81271E#81271E
#81271E is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.125 H 29.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #81271E |
|---|---|
| RGB | rgb(129, 39, 30) |
| HSL | hsl(5, 62%, 31%) |
| HSV | hsv(5, 77%, 51%) |
| CMYK | cmyk(0%, 69.8%, 76.7%, 49.4%) |
| CIE-LAB | lab(29.94, 38.12, 27.34) |
| CIE-LCH | lch(29.94, 46.91, 35.65°) |
| OKLab | oklab(41.07% 0.1095 0.0613) |
| OKLCH | oklch(41.07% 0.125 29.3) |
| XYZ | xyz(10.0142, 6.2134, 1.9000) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.69
Red Brown
#8B2E16
ΔE00 4.94
Indian Red
#850E04
ΔE00 4.99
Maroon
#800000
ΔE00 5.58
Dark Red
#840000
ΔE00 5.59
Reddy Brown
#6E1005
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81271E #1E7881
analogous
#811E46 #81271E #81581E
triadic
#81271E #1E8127 #271E81
tetradic
#81271E #46811E #1E7881 #581E81
square
#81271E #46811E #1E7881 #581E81
split-complementary
#81271E #1E8158 #1E4681
monochromatic
#1E0907 #4F1812 #81271E #B3362A #D45246
Accessibility & contrast
On white
9.36
#81271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#81271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81271E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81271E | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8E0C26
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81271e; /* rgb */ color: rgb(129, 39, 30); /* oklch */ color: oklch(41.1% 0.125 29.3);
Tailwind
colors: {
custom: {
50: '#ad675a',
500: '#81271e',
950: '#000000',
},
}SCSS
$custom: #81271e; $custom-light: #ad675a; $custom-dark: #000000;
JSON
{
"hex": "#81271e",
"rgb": {
"r": 129,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.455,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.41067,
"c": 0.12548,
"h": 29.3
},
"luminance": 0.06212
}Semantic roles & 50–950 ramp
primary
#81271E
secondary
#47AAB4
accent
#D7E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79