#8F1218#8F1218
#8F1218 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 25.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1218 |
|---|---|
| RGB | rgb(143, 18, 24) |
| HSL | hsl(357, 78%, 32%) |
| HSV | hsv(357, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 83.2%, 43.9%) |
| CIE-LAB | lab(30.25, 49.42, 32.11) |
| CIE-LCH | lch(30.25, 58.94, 33.02°) |
| OKLab | oklab(41.79% 0.142 0.0687) |
| OKLCH | oklch(41.79% 0.158 25.8) |
| XYZ | xyz(11.7103, 6.3402, 1.4712) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 1.89
Carmine
#9D0216
ΔE00 2.63
Darkred
#8B0000
ΔE00 4.53
Indian Red
#850E04
ΔE00 4.58
Dark Red
#840000
ΔE00 4.68
Blood Red
#980002
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1218 #128F89
analogous
#8F1257 #8F1218 #8F4B12
triadic
#8F1218 #188F12 #12188F
tetradic
#8F1218 #578F12 #128F89 #4B128F
square
#8F1218 #578F12 #128F89 #4B128F
split-complementary
#8F1218 #128F4B #12578F
monochromatic
#220406 #590B0F #8F1218 #C51921 #E6363E
Accessibility & contrast
On white
9.26
#8F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8F1218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1218
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1218 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9E0016
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8f1218; /* rgb */ color: rgb(143, 18, 24); /* oklch */ color: oklch(41.8% 0.158 25.8);
Tailwind
colors: {
custom: {
50: '#b96055',
500: '#8f1218',
950: '#000000',
},
}SCSS
$custom: #8f1218; $custom-light: #b96055; $custom-dark: #000000;
JSON
{
"hex": "#8f1218",
"rgb": {
"r": 143,
"g": 18,
"b": 24
},
"hsl": {
"h": 357.12,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.41792,
"c": 0.15773,
"h": 25.8
},
"luminance": 0.06338
}Semantic roles & 50–950 ramp
primary
#8F1218
secondary
#3AC3BD
accent
#F4EB34
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78