#81271A#81271A
#81271A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.126 H 31.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #81271A |
|---|---|
| RGB | rgb(129, 39, 26) |
| HSL | hsl(8, 66%, 30%) |
| HSV | hsv(8, 80%, 51%) |
| CMYK | cmyk(0%, 69.8%, 79.8%, 49.4%) |
| CIE-LAB | lab(29.90, 37.95, 29.66) |
| CIE-LCH | lch(29.90, 48.16, 38.01°) |
| OKLab | oklab(41.02% 0.1081 0.0653) |
| OKLCH | oklch(41.02% 0.126 31.1) |
| XYZ | xyz(9.9664, 6.1942, 1.6479) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.83
Indian Red
#850E04
ΔE00 4.16
Crimson (survey)
#8C000F
ΔE00 4.76
Dark Red
#840000
ΔE00 4.96
Maroon
#800000
ΔE00 5.02
Brick Red
#8F1402
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81271A #1A7481
analogous
#811A40 #81271A #815A1A
triadic
#81271A #1A8127 #271A81
tetradic
#81271A #40811A #1A7481 #5A1A81
square
#81271A #40811A #1A7481 #5A1A81
split-complementary
#81271A #1A815A #1A4081
monochromatic
#1B0805 #4E1810 #81271A #B43624 #D8513D
Accessibility & contrast
On white
9.38
#81271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#81271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81271A
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81271A | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#8E0B25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81271a; /* rgb */ color: rgb(129, 39, 26); /* oklch */ color: oklch(41.0% 0.126 31.1);
Tailwind
colors: {
custom: {
50: '#ad6757',
500: '#81271a',
950: '#000000',
},
}SCSS
$custom: #81271a; $custom-light: #ad6757; $custom-dark: #000000;
JSON
{
"hex": "#81271a",
"rgb": {
"r": 129,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.573,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.41017,
"c": 0.12626,
"h": 31.1
},
"luminance": 0.06193
}Semantic roles & 50–950 ramp
primary
#81271A
secondary
#42A6B5
accent
#D4E93E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78