#8F187B#8F187B
#8F187B is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.4% C 0.182 H 336.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8F187B |
|---|---|
| RGB | rgb(143, 24, 123) |
| HSL | hsl(310, 71%, 33%) |
| HSV | hsv(310, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 14%, 43.9%) |
| CIE-LAB | lab(33.82, 56.81, -26.76) |
| CIE-LCH | lch(33.82, 62.80, 334.78°) |
| OKLab | oklab(45.39% 0.1672 -0.073) |
| OKLCH | oklch(45.39% 0.182 336.4) |
| XYZ | xyz(15.2298, 7.9244, 19.4625) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.38
Warm Purple
#952E8F
ΔE00 4.60
Purple
#800080
ΔE00 4.88
Darkish Purple
#751973
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.29
Red Violet
#9E0168
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F187B #188F2C
analogous
#67188F #8F187B #8F1840
triadic
#8F187B #7B8F18 #187B8F
tetradic
#8F187B #8F6718 #188F2C #18408F
square
#8F187B #8F6718 #188F2C #18408F
split-complementary
#8F187B #408F18 #188F67
monochromatic
#260621 #5B0F4E #8F187B #C321A8 #DF42C5
Accessibility & contrast
On white
8.13
#8F187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F187B
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F187B | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B447E
Deuteranopia (green-blind)
#475678
Tritanopia (blue-blind)
#97224A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f187b; /* rgb */ color: rgb(143, 24, 123); /* oklch */ color: oklch(45.4% 0.182 336.4);
Tailwind
colors: {
custom: {
50: '#b466a1',
500: '#8f187b',
950: '#000000',
},
}SCSS
$custom: #8f187b; $custom-light: #b466a1; $custom-dark: #000000;
JSON
{
"hex": "#8f187b",
"rgb": {
"r": 143,
"g": 24,
"b": 123
},
"hsl": {
"h": 310.084,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.45387,
"c": 0.18247,
"h": 336.4
},
"luminance": 0.07923
}Semantic roles & 50–950 ramp
primary
#8F187B
secondary
#43C058
accent
#EE583A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E