#8F1828#8F1828
#8F1828 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 20.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1828 |
|---|---|
| RGB | rgb(143, 24, 40) |
| HSL | hsl(352, 71%, 33%) |
| HSV | hsv(352, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 72%, 43.9%) |
| CIE-LAB | lab(30.99, 48.55, 23.01) |
| CIE-LCH | lch(30.99, 53.73, 25.36°) |
| OKLab | oklab(42.4% 0.1429 0.0532) |
| OKLCH | oklch(42.4% 0.153 20.4) |
| XYZ | xyz(12.0387, 6.6480, 2.6564) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.03
Wine Red
#7B0323
ΔE00 5.26
Carmine
#9D0216
ΔE00 5.91
Crimson (survey)
#8C000F
ΔE00 6.18
Rouge
#AB1239
ΔE00 6.20
Cranberry
#9E003A
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1828 #188F7F
analogous
#8F1863 #8F1828 #8F4418
triadic
#8F1828 #288F18 #18288F
tetradic
#8F1828 #638F18 #188F7F #44188F
square
#8F1828 #638F18 #188F7F #44188F
split-complementary
#8F1828 #188F44 #18638F
monochromatic
#26060B #5B0F19 #8F1828 #C32137 #DF4257
Accessibility & contrast
On white
9.02
#8F1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1828
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1828 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3928
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#9E001F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1828; /* rgb */ color: rgb(143, 24, 40); /* oklch */ color: oklch(42.4% 0.153 20.4);
Tailwind
colors: {
custom: {
50: '#b86361',
500: '#8f1828',
950: '#000000',
},
}SCSS
$custom: #8f1828; $custom-light: #b86361; $custom-dark: #000000;
JSON
{
"hex": "#8f1828",
"rgb": {
"r": 143,
"g": 24,
"b": 40
},
"hsl": {
"h": 351.933,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.42404,
"c": 0.15252,
"h": 20.4
},
"luminance": 0.06646
}Semantic roles & 50–950 ramp
primary
#8F1828
secondary
#43C0AF
accent
#EED63A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79