#8F165B#8F165B
#8F165B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.165 H 352.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8F165B |
|---|---|
| RGB | rgb(143, 22, 91) |
| HSL | hsl(326, 73%, 32%) |
| HSV | hsv(326, 85%, 56%) |
| CMYK | cmyk(0%, 84.6%, 36.4%, 43.9%) |
| CIE-LAB | lab(32.19, 53.18, -8.82) |
| CIE-LCH | lch(32.19, 53.90, 350.58°) |
| OKLab | oklab(43.73% 0.1635 -0.0228) |
| OKLCH | oklch(43.73% 0.165 352.1) |
| XYZ | xyz(13.5038, 7.1705, 10.5684) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.20
Reddish Purple
#910951
ΔE00 2.69
Dark Fuchsia
#9D0759
ΔE00 3.13
Deep Magenta
#A0025C
ΔE00 3.33
Red Violet
#9E0168
ΔE00 3.39
Mulberry
#920A4E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F165B #168F4A
analogous
#86168F #8F165B #8F161F
triadic
#8F165B #5B8F16 #165B8F
tetradic
#8F165B #8F8616 #168F4A #161F8F
square
#8F165B #8F8616 #168F4A #161F8F
split-complementary
#8F165B #1F8F16 #168F86
monochromatic
#250617 #5A0E39 #8F165B #C41E7D #E13E9B
Accessibility & contrast
On white
8.63
#8F165B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8F165B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F165B
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F165B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F165B | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#525358
Tritanopia (blue-blind)
#9B0537
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8f165b; /* rgb */ color: rgb(143, 22, 91); /* oklch */ color: oklch(43.7% 0.165 352.1);
Tailwind
colors: {
custom: {
50: '#b56489',
500: '#8f165b',
950: '#000000',
},
}SCSS
$custom: #8f165b; $custom-light: #b56489; $custom-dark: #000000;
JSON
{
"hex": "#8f165b",
"rgb": {
"r": 143,
"g": 22,
"b": 91
},
"hsl": {
"h": 325.785,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.43733,
"c": 0.16504,
"h": 352.1
},
"luminance": 0.07169
}Semantic roles & 50–950 ramp
primary
#8F165B
secondary
#3FC177
accent
#F08738
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C