#82271A#82271A
#82271A is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.2% C 0.127 H 31.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #82271A |
|---|---|
| RGB | rgb(130, 39, 26) |
| HSL | hsl(8, 67%, 31%) |
| HSV | hsv(8, 80%, 51%) |
| CMYK | cmyk(0%, 70%, 80%, 49%) |
| CIE-LAB | lab(30.09, 38.31, 29.92) |
| CIE-LCH | lch(30.09, 48.61, 38.00°) |
| OKLab | oklab(41.2% 0.1091 0.0658) |
| OKLCH | oklch(41.2% 0.127 31.1) |
| XYZ | xyz(10.1190, 6.2730, 1.6551) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.71
Indian Red
#850E04
ΔE00 4.11
Crimson (survey)
#8C000F
ΔE00 4.68
Brick Red
#8F1402
ΔE00 4.92
Dark Red
#840000
ΔE00 4.92
Maroon
#800000
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#82271A #1A7582
analogous
#821A41 #82271A #825B1A
triadic
#82271A #1A8227 #271A82
tetradic
#82271A #41821A #1A7582 #5B1A82
square
#82271A #41821A #1A7582 #5B1A82
split-complementary
#82271A #1A825B #1A4182
monochromatic
#1C0806 #4F1810 #82271A #B53624 #D8513E
Accessibility & contrast
On white
9.32
#82271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#82271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #82271A
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##82271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##82271A | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#900A25
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #82271a; /* rgb */ color: rgb(130, 39, 26); /* oklch */ color: oklch(41.2% 0.127 31.1);
Tailwind
colors: {
custom: {
50: '#ae6757',
500: '#82271a',
950: '#000000',
},
}SCSS
$custom: #82271a; $custom-light: #ae6757; $custom-dark: #000000;
JSON
{
"hex": "#82271a",
"rgb": {
"r": 130,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.5,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.41198,
"c": 0.12739,
"h": 31.1
},
"luminance": 0.06271
}Semantic roles & 50–950 ramp
primary
#82271A
secondary
#42A7B6
accent
#D4EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78