#8F187A#8F187A
#8F187A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.182 H 336.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8F187A |
|---|---|
| RGB | rgb(143, 24, 122) |
| HSL | hsl(311, 71%, 33%) |
| HSV | hsv(311, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 14.7%, 43.9%) |
| CIE-LAB | lab(33.77, 56.67, -26.21) |
| CIE-LCH | lch(33.77, 62.43, 335.18°) |
| OKLab | oklab(45.33% 0.1672 -0.0715) |
| OKLCH | oklch(45.33% 0.182 336.9) |
| XYZ | xyz(15.1675, 7.8995, 19.1345) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.58
Warm Purple
#952E8F
ΔE00 4.74
Purple
#800080
ΔE00 5.01
Darkish Purple
#751973
ΔE00 5.23
Barney Purple
#A00498
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F187A #188F2D
analogous
#68188F #8F187A #8F183F
triadic
#8F187A #7A8F18 #187A8F
tetradic
#8F187A #8F6818 #188F2D #183F8F
square
#8F187A #8F6818 #188F2D #183F8F
split-complementary
#8F187A #3F8F18 #188F68
monochromatic
#260621 #5B0F4D #8F187A #C321A7 #DF42C4
Accessibility & contrast
On white
8.14
#8F187A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F187A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F187A
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F187A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F187A | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#972249
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f187a; /* rgb */ color: rgb(143, 24, 122); /* oklch */ color: oklch(45.3% 0.182 336.9);
Tailwind
colors: {
custom: {
50: '#b466a1',
500: '#8f187a',
950: '#000000',
},
}SCSS
$custom: #8f187a; $custom-light: #b466a1; $custom-dark: #000000;
JSON
{
"hex": "#8f187a",
"rgb": {
"r": 143,
"g": 24,
"b": 122
},
"hsl": {
"h": 310.588,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.45332,
"c": 0.18179,
"h": 336.9
},
"luminance": 0.07898
}Semantic roles & 50–950 ramp
primary
#8F187A
secondary
#43C059
accent
#EE5A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E