#8F1742#8F1742
#8F1742 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.155 H 6.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1742 |
|---|---|
| RGB | rgb(143, 23, 66) |
| HSL | hsl(339, 72%, 33%) |
| HSV | hsv(339, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 53.8%, 43.9%) |
| CIE-LAB | lab(31.46, 50.51, 6.53) |
| CIE-LCH | lch(31.46, 50.93, 7.36°) |
| OKLab | oklab(42.93% 0.1543 0.0169) |
| OKLCH | oklch(42.93% 0.155 6.3) |
| XYZ | xyz(12.6186, 6.8476, 5.8105) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.39
Berry
#990F4B
ΔE00 2.70
Red Wine
#8C0034
ΔE00 3.54
Mulberry
#920A4E
ΔE00 4.14
Cranberry
#9E003A
ΔE00 4.38
Wine (survey)
#80013F
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1742 #178F64
analogous
#8F177E #8F1742 #8F2817
triadic
#8F1742 #428F17 #17428F
tetradic
#8F1742 #7E8F17 #178F64 #28178F
square
#8F1742 #7E8F17 #178F64 #28178F
split-complementary
#8F1742 #178F28 #177E8F
monochromatic
#260611 #5A0F2A #8F1742 #C41F5A #E0407A
Accessibility & contrast
On white
8.86
#8F1742 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8F1742 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1742
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1742 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1742; /* rgb */ color: rgb(143, 23, 66); /* oklch */ color: oklch(42.9% 0.155 6.3);
Tailwind
colors: {
custom: {
50: '#b66376',
500: '#8f1742',
950: '#000000',
},
}SCSS
$custom: #8f1742; $custom-light: #b66376; $custom-dark: #000000;
JSON
{
"hex": "#8f1742",
"rgb": {
"r": 143,
"g": 23,
"b": 66
},
"hsl": {
"h": 338.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42928,
"c": 0.15525,
"h": 6.3
},
"luminance": 0.06846
}Semantic roles & 50–950 ramp
primary
#8F1742
secondary
#41C193
accent
#EFAE39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B