#8F271A#8F271A
#8F271A is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.142 H 30.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F271A |
|---|---|
| RGB | rgb(143, 39, 26) |
| HSL | hsl(7, 69%, 33%) |
| HSV | hsv(7, 82%, 56%) |
| CMYK | cmyk(0%, 72.7%, 81.8%, 43.9%) |
| CIE-LAB | lab(32.63, 42.90, 33.33) |
| CIE-LCH | lch(32.63, 54.32, 37.84°) |
| OKLab | oklab(43.56% 0.1219 0.0721) |
| OKLCH | oklch(43.56% 0.142 30.6) |
| XYZ | xyz(12.2411, 7.3671, 1.7545) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.01
Brick Red
#8F1402
ΔE00 3.98
Blood Red
#980002
ΔE00 4.38
Indian Red
#850E04
ΔE00 4.42
Carmine
#9D0216
ΔE00 4.45
Brownish Red
#9E3623
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F271A #1A828F
analogous
#8F1A47 #8F271A #8F611A
triadic
#8F271A #1A8F27 #271A8F
tetradic
#8F271A #478F1A #1A828F #611A8F
square
#8F271A #478F1A #1A828F #611A8F
split-complementary
#8F271A #1A8F61 #1A478F
monochromatic
#270B07 #5B1911 #8F271A #C33523 #DD5746
Accessibility & contrast
On white
8.49
#8F271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8F271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F271A
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F271A | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#605515
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8f271a; /* rgb */ color: rgb(143, 39, 26); /* oklch */ color: oklch(43.6% 0.142 30.6);
Tailwind
colors: {
custom: {
50: '#b86958',
500: '#8f271a',
950: '#000000',
},
}SCSS
$custom: #8f271a; $custom-light: #b86958; $custom-dark: #000000;
JSON
{
"hex": "#8f271a",
"rgb": {
"r": 143,
"g": 39,
"b": 26
},
"hsl": {
"h": 6.667,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.43564,
"c": 0.14163,
"h": 30.6
},
"luminance": 0.07365
}Semantic roles & 50–950 ramp
primary
#8F271A
secondary
#46B1BF
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78