#8D271C#8D271C
#8D271C is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.2% C 0.139 H 29.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8D271C |
|---|---|
| RGB | rgb(141, 39, 28) |
| HSL | hsl(6, 67%, 33%) |
| HSV | hsv(6, 80%, 55%) |
| CMYK | cmyk(0%, 72.3%, 80.1%, 44.7%) |
| CIE-LAB | lab(32.26, 42.28, 31.69) |
| CIE-LCH | lch(32.26, 52.84, 36.85°) |
| OKLab | oklab(43.22% 0.1206 0.0693) |
| OKLCH | oklch(43.22% 0.139 29.9) |
| XYZ | xyz(11.9210, 7.1994, 1.8603) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.53
Crimson (survey)
#8C000F
ΔE00 4.28
Carmine
#9D0216
ΔE00 4.40
Brick Red
#8F1402
ΔE00 4.52
Indian Red
#850E04
ΔE00 4.54
Blood Red
#980002
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D271C #1C828D
analogous
#8D1C49 #8D271C #8D5F1C
triadic
#8D271C #1C8D27 #271C8D
tetradic
#8D271C #498D1C #1C828D #5F1C8D
square
#8D271C #498D1C #1C828D #5F1C8D
split-complementary
#8D271C #1C8D5F #1C498D
monochromatic
#270B08 #5A1912 #8D271C #C03526 #DB5749
Accessibility & contrast
On white
8.61
#8D271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8D271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D271C
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D271C | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8d271c; /* rgb */ color: rgb(141, 39, 28); /* oklch */ color: oklch(43.2% 0.139 29.9);
Tailwind
colors: {
custom: {
50: '#b66859',
500: '#8d271c',
950: '#000000',
},
}SCSS
$custom: #8d271c; $custom-light: #b66859; $custom-dark: #000000;
JSON
{
"hex": "#8d271c",
"rgb": {
"r": 141,
"g": 39,
"b": 28
},
"hsl": {
"h": 5.841,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.43221,
"c": 0.13914,
"h": 29.9
},
"luminance": 0.07198
}Semantic roles & 50–950 ramp
primary
#8D271C
secondary
#48B1BD
accent
#D9EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78