#8F173D#8F173D
#8F173D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 9.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8F173D |
|---|---|
| RGB | rgb(143, 23, 61) |
| HSL | hsl(341, 72%, 33%) |
| HSV | hsv(341, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 57.3%, 43.9%) |
| CIE-LAB | lab(31.33, 50.12, 9.66) |
| CIE-LCH | lch(31.33, 51.04, 10.90°) |
| OKLab | oklab(42.79% 0.1524 0.0244) |
| OKLCH | oklch(42.79% 0.154 9.1) |
| XYZ | xyz(12.4776, 6.7912, 5.0678) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.35
Cranberry
#9E003A
ΔE00 3.26
Purple Red
#990147
ΔE00 3.59
Berry
#990F4B
ΔE00 4.09
Bordeaux
#7B002C
ΔE00 5.03
Wine (survey)
#80013F
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F173D #178F69
analogous
#8F1779 #8F173D #8F2D17
triadic
#8F173D #3D8F17 #173D8F
tetradic
#8F173D #798F17 #178F69 #2D178F
square
#8F173D #798F17 #178F69 #2D178F
split-complementary
#8F173D #178F2D #17798F
monochromatic
#260610 #5A0F27 #8F173D #C41F53 #E04073
Accessibility & contrast
On white
8.91
#8F173D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8F173D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F173D
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F173D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F173D | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3E
Deuteranopia (green-blind)
#58523A
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f173d; /* rgb */ color: rgb(143, 23, 61); /* oklch */ color: oklch(42.8% 0.154 9.1);
Tailwind
colors: {
custom: {
50: '#b66372',
500: '#8f173d',
950: '#000000',
},
}SCSS
$custom: #8f173d; $custom-light: #b66372; $custom-dark: #000000;
JSON
{
"hex": "#8f173d",
"rgb": {
"r": 143,
"g": 23,
"b": 61
},
"hsl": {
"h": 341,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.4279,
"c": 0.1543,
"h": 9.1
},
"luminance": 0.06789
}Semantic roles & 50–950 ramp
primary
#8F173D
secondary
#41C198
accent
#EFB539
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A