#82271F#82271F
#82271F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.126 H 28.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #82271F |
|---|---|
| RGB | rgb(130, 39, 31) |
| HSL | hsl(5, 61%, 32%) |
| HSV | hsv(5, 76%, 51%) |
| CMYK | cmyk(0%, 70%, 76.2%, 49%) |
| CIE-LAB | lab(30.15, 38.53, 27.02) |
| CIE-LCH | lch(30.15, 47.05, 35.04°) |
| OKLab | oklab(41.26% 0.1109 0.0608) |
| OKLCH | oklch(41.26% 0.126 28.8) |
| XYZ | xyz(10.1799, 6.2973, 1.9755) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.65
Red Brown
#8B2E16
ΔE00 5.14
Indian Red
#850E04
ΔE00 5.18
Dark Red
#840000
ΔE00 5.75
Maroon
#800000
ΔE00 5.75
Carmine
#9D0216
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#82271F #1F7A82
analogous
#821F49 #82271F #82591F
triadic
#82271F #1F8227 #271F82
tetradic
#82271F #49821F #1F7A82 #591F82
square
#82271F #49821F #1F7A82 #591F82
split-complementary
#82271F #1F8259 #1F4982
monochromatic
#1F0907 #511813 #82271F #B3362B #D35348
Accessibility & contrast
On white
9.30
#82271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#82271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #82271F
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##82271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##82271F | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8F0B26
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #82271f; /* rgb */ color: rgb(130, 39, 31); /* oklch */ color: oklch(41.3% 0.126 28.8);
Tailwind
colors: {
custom: {
50: '#ad675b',
500: '#82271f',
950: '#000000',
},
}SCSS
$custom: #82271f; $custom-light: #ad675b; $custom-dark: #000000;
JSON
{
"hex": "#82271f",
"rgb": {
"r": 130,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.848,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.41261,
"c": 0.12644,
"h": 28.8
},
"luminance": 0.06296
}Semantic roles & 50–950 ramp
primary
#82271F
secondary
#48ACB5
accent
#D8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79