#8C271A#8C271A
#8C271A is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.138 H 30.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8C271A |
|---|---|
| RGB | rgb(140, 39, 26) |
| HSL | hsl(7, 69%, 33%) |
| HSV | hsv(7, 81%, 55%) |
| CMYK | cmyk(0%, 72.1%, 81.4%, 45.1%) |
| CIE-LAB | lab(32.04, 41.86, 32.54) |
| CIE-LCH | lch(32.04, 53.02, 37.86°) |
| OKLab | oklab(43.02% 0.119 0.0706) |
| OKLCH | oklch(43.02% 0.138 30.7) |
| XYZ | xyz(11.7286, 7.1029, 1.7305) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.00
Brick Red
#8F1402
ΔE00 4.06
Indian Red
#850E04
ΔE00 4.19
Crimson (survey)
#8C000F
ΔE00 4.39
Blood Red
#980002
ΔE00 4.64
Darkred
#8B0000
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C271A #1A7F8C
analogous
#8C1A46 #8C271A #8C601A
triadic
#8C271A #1A8C27 #271A8C
tetradic
#8C271A #468C1A #1A7F8C #601A8C
square
#8C271A #468C1A #1A7F8C #601A8C
split-complementary
#8C271A #1A8C60 #1A468C
monochromatic
#250A07 #581910 #8C271A #C03524 #DC5544
Accessibility & contrast
On white
8.68
#8C271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8C271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C271A
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C271A | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8c271a; /* rgb */ color: rgb(140, 39, 26); /* oklch */ color: oklch(43.0% 0.138 30.7);
Tailwind
colors: {
custom: {
50: '#b66858',
500: '#8c271a',
950: '#000000',
},
}SCSS
$custom: #8c271a; $custom-light: #b66858; $custom-dark: #000000;
JSON
{
"hex": "#8c271a",
"rgb": {
"r": 140,
"g": 39,
"b": 26
},
"hsl": {
"h": 6.842,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.43017,
"c": 0.1384,
"h": 30.7
},
"luminance": 0.07101
}Semantic roles & 50–950 ramp
primary
#8C271A
secondary
#44B0BE
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78