#8F175D#8F175D
#8F175D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.165 H 351.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8F175D |
|---|---|
| RGB | rgb(143, 23, 93) |
| HSL | hsl(325, 72%, 33%) |
| HSV | hsv(325, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 35%, 43.9%) |
| CIE-LAB | lab(32.36, 53.15, -9.87) |
| CIE-LCH | lch(32.36, 54.06, 349.48°) |
| OKLab | oklab(43.88% 0.1632 -0.0256) |
| OKLCH | oklch(43.88% 0.165 351.1) |
| XYZ | xyz(13.6107, 7.2444, 11.0354) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.60
Red Violet
#9E0168
ΔE00 3.12
Reddish Purple
#910951
ΔE00 3.18
Dark Fuchsia
#9D0759
ΔE00 3.44
Deep Magenta
#A0025C
ΔE00 3.54
Mulberry
#920A4E
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F175D #178F49
analogous
#85178F #8F175D #8F1721
triadic
#8F175D #5D8F17 #175D8F
tetradic
#8F175D #8F8517 #178F49 #17218F
square
#8F175D #8F8517 #178F49 #17218F
split-complementary
#8F175D #218F17 #178F85
monochromatic
#260618 #5A0F3B #8F175D #C41F7F #E0409E
Accessibility & contrast
On white
8.58
#8F175D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8F175D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F175D
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F175D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F175D | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#51545A
Tritanopia (blue-blind)
#9A0939
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8f175d; /* rgb */ color: rgb(143, 23, 93); /* oklch */ color: oklch(43.9% 0.165 351.1);
Tailwind
colors: {
custom: {
50: '#b4648b',
500: '#8f175d',
950: '#000000',
},
}SCSS
$custom: #8f175d; $custom-light: #b4648b; $custom-dark: #000000;
JSON
{
"hex": "#8f175d",
"rgb": {
"r": 143,
"g": 23,
"b": 93
},
"hsl": {
"h": 325,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.43879,
"c": 0.16518,
"h": 351.1
},
"luminance": 0.07243
}Semantic roles & 50–950 ramp
primary
#8F175D
secondary
#41C176
accent
#EF8539
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C