#81271D#81271D
#81271D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.126 H 29.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #81271D |
|---|---|
| RGB | rgb(129, 39, 29) |
| HSL | hsl(6, 63%, 31%) |
| HSV | hsv(6, 78%, 51%) |
| CMYK | cmyk(0%, 69.8%, 77.5%, 49.4%) |
| CIE-LAB | lab(29.93, 38.07, 27.93) |
| CIE-LCH | lch(29.93, 47.22, 36.26°) |
| OKLab | oklab(41.05% 0.1091 0.0624) |
| OKLCH | oklch(41.05% 0.126 29.7) |
| XYZ | xyz(10.0017, 6.2083, 1.8338) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.65
Crimson (survey)
#8C000F
ΔE00 4.67
Indian Red
#850E04
ΔE00 4.75
Dark Red
#840000
ΔE00 5.40
Maroon
#800000
ΔE00 5.41
Darkred
#8B0000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81271D #1D7781
analogous
#811D45 #81271D #81591D
triadic
#81271D #1D8127 #271D81
tetradic
#81271D #45811D #1D7781 #591D81
square
#81271D #45811D #1D7781 #591D81
split-complementary
#81271D #1D8159 #1D4581
monochromatic
#1D0907 #4F1812 #81271D #B33628 #D55244
Accessibility & contrast
On white
9.37
#81271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#81271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81271D
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81271D | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8E0B25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81271d; /* rgb */ color: rgb(129, 39, 29); /* oklch */ color: oklch(41.1% 0.126 29.7);
Tailwind
colors: {
custom: {
50: '#ad6759',
500: '#81271d',
950: '#000000',
},
}SCSS
$custom: #81271d; $custom-light: #ad6759; $custom-dark: #000000;
JSON
{
"hex": "#81271d",
"rgb": {
"r": 129,
"g": 39,
"b": 29
},
"hsl": {
"h": 6,
"s": 63.291,
"l": 30.98
},
"oklch": {
"l": 0.41054,
"c": 0.12567,
"h": 29.7
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#81271D
secondary
#46A9B4
accent
#D6E641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78