#8F173A#8F173A
#8F173A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.154 H 10.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F173A |
|---|---|
| RGB | rgb(143, 23, 58) |
| HSL | hsl(343, 72%, 33%) |
| HSV | hsv(343, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 59.4%, 43.9%) |
| CIE-LAB | lab(31.25, 49.90, 11.54) |
| CIE-LCH | lch(31.25, 51.22, 13.02°) |
| OKLab | oklab(42.71% 0.1512 0.0288) |
| OKLCH | oklch(42.71% 0.154 10.8) |
| XYZ | xyz(12.3991, 6.7598, 4.6541) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.01
Cranberry
#9E003A
ΔE00 2.87
Purple Red
#990147
ΔE00 4.49
Bordeaux
#7B002C
ΔE00 4.81
Berry
#990F4B
ΔE00 5.03
Wine Red
#7B0323
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F173A #178F6C
analogous
#8F1776 #8F173A #8F3017
triadic
#8F173A #3A8F17 #173A8F
tetradic
#8F173A #768F17 #178F6C #30178F
square
#8F173A #768F17 #178F6C #30178F
split-complementary
#8F173A #178F30 #17768F
monochromatic
#26060F #5A0F25 #8F173A #C41F4F #E0406F
Accessibility & contrast
On white
8.93
#8F173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8F173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F173A
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F173A | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f173a; /* rgb */ color: rgb(143, 23, 58); /* oklch */ color: oklch(42.7% 0.154 10.8);
Tailwind
colors: {
custom: {
50: '#b6636f',
500: '#8f173a',
950: '#000000',
},
}SCSS
$custom: #8f173a; $custom-light: #b6636f; $custom-dark: #000000;
JSON
{
"hex": "#8f173a",
"rgb": {
"r": 143,
"g": 23,
"b": 58
},
"hsl": {
"h": 342.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.42712,
"c": 0.15387,
"h": 10.8
},
"luminance": 0.06758
}Semantic roles & 50–950 ramp
primary
#8F173A
secondary
#41C19B
accent
#EFBA39
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A