#8C271F#8C271F
#8C271F is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.1% C 0.138 H 28.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8C271F |
|---|---|
| RGB | rgb(140, 39, 31) |
| HSL | hsl(4, 64%, 34%) |
| HSV | hsv(4, 78%, 55%) |
| CMYK | cmyk(0%, 72.1%, 77.9%, 45.1%) |
| CIE-LAB | lab(32.09, 42.05, 29.71) |
| CIE-LCH | lch(32.09, 51.49, 35.24°) |
| OKLab | oklab(43.08% 0.1207 0.066) |
| OKLCH | oklch(43.08% 0.138 28.7) |
| XYZ | xyz(11.7894, 7.1272, 2.0510) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.23
Carmine
#9D0216
ΔE00 4.35
Red Brown
#8B2E16
ΔE00 4.44
Indian Red
#850E04
ΔE00 5.07
Brown
#A52A2A
ΔE00 5.32
Brick Red
#8F1402
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C271F #1F848C
analogous
#8C1F4D #8C271F #8C5D1F
triadic
#8C271F #1F8C27 #271F8C
tetradic
#8C271F #4D8C1F #1F848C #5D1F8C
square
#8C271F #4D8C1F #1F848C #5D1F8C
split-complementary
#8C271F #1F8C5D #1F4D8C
monochromatic
#280B09 #5A1914 #8C271F #BE352A #D8584E
Accessibility & contrast
On white
8.66
#8C271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8C271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C271F
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C271F | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5D541B
Tritanopia (blue-blind)
#9A0126
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8c271f; /* rgb */ color: rgb(140, 39, 31); /* oklch */ color: oklch(43.1% 0.138 28.7);
Tailwind
colors: {
custom: {
50: '#b5685b',
500: '#8c271f',
950: '#000000',
},
}SCSS
$custom: #8c271f; $custom-light: #b5685b; $custom-dark: #000000;
JSON
{
"hex": "#8c271f",
"rgb": {
"r": 140,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.404,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.43075,
"c": 0.13754,
"h": 28.7
},
"luminance": 0.07125
}Semantic roles & 50–950 ramp
primary
#8C271F
secondary
#4CB2BB
accent
#DBE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79