#81271C#81271C
#81271C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.126 H 30.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #81271C |
|---|---|
| RGB | rgb(129, 39, 28) |
| HSL | hsl(7, 64%, 31%) |
| HSV | hsv(7, 78%, 51%) |
| CMYK | cmyk(0%, 69.8%, 78.3%, 49.4%) |
| CIE-LAB | lab(29.92, 38.03, 28.51) |
| CIE-LCH | lch(29.92, 47.53, 36.86°) |
| OKLab | oklab(41.04% 0.1088 0.0634) |
| OKLCH | oklch(41.04% 0.126 30.2) |
| XYZ | xyz(9.9895, 6.2035, 1.7698) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.36
Indian Red
#850E04
ΔE00 4.53
Crimson (survey)
#8C000F
ΔE00 4.67
Dark Red
#840000
ΔE00 5.23
Maroon
#800000
ΔE00 5.26
Darkred
#8B0000
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81271C #1C7681
analogous
#811C43 #81271C #81591C
triadic
#81271C #1C8127 #271C81
tetradic
#81271C #43811C #1C7681 #591C81
square
#81271C #43811C #1C7681 #591C81
split-complementary
#81271C #1C8159 #1C4381
monochromatic
#1C0906 #4F1811 #81271C #B33627 #D65242
Accessibility & contrast
On white
9.37
#81271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#81271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #81271C
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81271C | 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)
#413A1A
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#8E0B25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #81271c; /* rgb */ color: rgb(129, 39, 28); /* oklch */ color: oklch(41.0% 0.126 30.2);
Tailwind
colors: {
custom: {
50: '#ad6759',
500: '#81271c',
950: '#000000',
},
}SCSS
$custom: #81271c; $custom-light: #ad6759; $custom-dark: #000000;
JSON
{
"hex": "#81271c",
"rgb": {
"r": 129,
"g": 39,
"b": 28
},
"hsl": {
"h": 6.535,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.41041,
"c": 0.12587,
"h": 30.2
},
"luminance": 0.06202
}Semantic roles & 50–950 ramp
primary
#81271C
secondary
#44A8B4
accent
#D5E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78