#8D271F#8D271F
#8D271F is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.3% C 0.139 H 28.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8D271F |
|---|---|
| RGB | rgb(141, 39, 31) |
| HSL | hsl(4, 64%, 34%) |
| HSV | hsv(4, 78%, 55%) |
| CMYK | cmyk(0%, 72.3%, 78%, 44.7%) |
| CIE-LAB | lab(32.29, 42.40, 29.98) |
| CIE-LCH | lch(32.29, 51.92, 35.26°) |
| OKLab | oklab(43.26% 0.1216 0.0665) |
| OKLCH | oklch(43.26% 0.139 28.7) |
| XYZ | xyz(11.9587, 7.2145, 2.0589) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 4.22
Crimson (survey)
#8C000F
ΔE00 4.24
Red Brown
#8B2E16
ΔE00 4.41
Indian Red
#850E04
ΔE00 5.11
Brown
#A52A2A
ΔE00 5.16
Brownish Red
#9E3623
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D271F #1F858D
analogous
#8D1F4E #8D271F #8D5E1F
triadic
#8D271F #1F8D27 #271F8D
tetradic
#8D271F #4E8D1F #1F858D #5E1F8D
square
#8D271F #4E8D1F #1F858D #5E1F8D
split-complementary
#8D271F #1F8D5E #1F4E8D
monochromatic
#290B09 #5B1914 #8D271F #BF352A #D8584E
Accessibility & contrast
On white
8.60
#8D271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8D271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D271F
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D271F | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8d271f; /* rgb */ color: rgb(141, 39, 31); /* oklch */ color: oklch(43.3% 0.139 28.7);
Tailwind
colors: {
custom: {
50: '#b6685b',
500: '#8d271f',
950: '#000000',
},
}SCSS
$custom: #8d271f; $custom-light: #b6685b; $custom-dark: #000000;
JSON
{
"hex": "#8d271f",
"rgb": {
"r": 141,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.364,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43257,
"c": 0.13863,
"h": 28.7
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#8D271F
secondary
#4DB3BB
accent
#DBE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79