#8C271B#8C271B
#8C271B is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.138 H 30.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8C271B |
|---|---|
| RGB | rgb(140, 39, 27) |
| HSL | hsl(6, 68%, 33%) |
| HSV | hsv(6, 81%, 55%) |
| CMYK | cmyk(0%, 72.1%, 80.7%, 45.1%) |
| CIE-LAB | lab(32.05, 41.89, 31.99) |
| CIE-LCH | lch(32.05, 52.71, 37.36°) |
| OKLab | oklab(43.03% 0.1193 0.0698) |
| OKLCH | oklch(43.03% 0.138 30.3) |
| XYZ | xyz(11.7399, 7.1074, 1.7904) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.27
Brick Red
#8F1402
ΔE00 4.30
Crimson (survey)
#8C000F
ΔE00 4.31
Indian Red
#850E04
ΔE00 4.33
Carmine
#9D0216
ΔE00 4.62
Darkred
#8B0000
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C271B #1B808C
analogous
#8C1B47 #8C271B #8C601B
triadic
#8C271B #1B8C27 #271B8C
tetradic
#8C271B #478C1B #1B808C #601B8C
square
#8C271B #478C1B #1B808C #601B8C
split-complementary
#8C271B #1B8C60 #1B478C
monochromatic
#250A07 #591911 #8C271B #BF3525 #DB5646
Accessibility & contrast
On white
8.67
#8C271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8C271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C271B
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C271B | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D19
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8c271b; /* rgb */ color: rgb(140, 39, 27); /* oklch */ color: oklch(43.0% 0.138 30.3);
Tailwind
colors: {
custom: {
50: '#b66858',
500: '#8c271b',
950: '#000000',
},
}SCSS
$custom: #8c271b; $custom-light: #b66858; $custom-dark: #000000;
JSON
{
"hex": "#8c271b",
"rgb": {
"r": 140,
"g": 39,
"b": 27
},
"hsl": {
"h": 6.372,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.43027,
"c": 0.13823,
"h": 30.3
},
"luminance": 0.07106
}Semantic roles & 50–950 ramp
primary
#8C271B
secondary
#46B0BD
accent
#D8EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78