#8F2228#8F2228
#8F2228 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.2% C 0.144 H 22.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2228 |
|---|---|
| RGB | rgb(143, 34, 40) |
| HSL | hsl(357, 62%, 35%) |
| HSV | hsv(357, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 72%, 43.9%) |
| CIE-LAB | lab(32.12, 45.38, 24.37) |
| CIE-LCH | lch(32.12, 51.51, 28.24°) |
| OKLab | oklab(43.24% 0.1328 0.0562) |
| OKLCH | oklch(43.24% 0.144 22.9) |
| XYZ | xyz(12.2841, 7.1388, 2.7382) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 5.06
Brown
#A52A2A
ΔE00 5.22
Burgundy
#800020
ΔE00 5.46
Crimson (survey)
#8C000F
ΔE00 5.54
Wine Red
#7B0323
ΔE00 6.74
Rouge
#AB1239
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2228 #228F89
analogous
#8F225F #8F2228 #8F5222
triadic
#8F2228 #288F22 #22288F
tetradic
#8F2228 #5F8F22 #228F89 #52228F
square
#8F2228 #5F8F22 #228F89 #52228F
split-complementary
#8F2228 #228F52 #225F8F
monochromatic
#2C0A0C #5E161A #8F2228 #C02E36 #D7555C
Accessibility & contrast
On white
8.65
#8F2228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8F2228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2228
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2228 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#5D5424
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8f2228; /* rgb */ color: rgb(143, 34, 40); /* oklch */ color: oklch(43.2% 0.144 22.9);
Tailwind
colors: {
custom: {
50: '#b76762',
500: '#8f2228',
950: '#000000',
},
}SCSS
$custom: #8f2228; $custom-light: #b76762; $custom-dark: #000000;
JSON
{
"hex": "#8f2228",
"rgb": {
"r": 143,
"g": 34,
"b": 40
},
"hsl": {
"h": 356.697,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.43241,
"c": 0.14422,
"h": 22.9
},
"luminance": 0.07137
}Semantic roles & 50–950 ramp
primary
#8F2228
secondary
#52BAB5
accent
#E5DC43
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79