#8F3166#8F3166
#8F3166 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.6% C 0.139 H 349.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3166 |
|---|---|
| RGB | rgb(143, 49, 102) |
| HSL | hsl(326, 49%, 38%) |
| HSV | hsv(326, 66%, 56%) |
| CMYK | cmyk(0%, 65.7%, 28.7%, 43.9%) |
| CIE-LAB | lab(35.98, 45.10, -10.17) |
| CIE-LCH | lch(35.98, 46.23, 347.29°) |
| OKLab | oklab(46.64% 0.1369 -0.0266) |
| OKLCH | oklch(46.64% 0.139 349) |
| XYZ | xyz(14.8249, 8.9971, 13.5237) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.97
Deep Magenta
#A0025C
ΔE00 5.50
Dark Fuchsia
#9D0759
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.70
Bruise
#7E4071
ΔE00 5.89
Reddish Purple
#910951
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3166 #318F5A
analogous
#89318F #8F3166 #8F3137
triadic
#8F3166 #668F31 #31668F
tetradic
#8F3166 #8F8931 #318F5A #31378F
square
#8F3166 #8F8931 #318F5A #31378F
split-complementary
#8F3166 #378F31 #318F89
monochromatic
#341225 #612145 #8F3166 #BD4187 #CD6DA3
Accessibility & contrast
On white
7.50
#8F3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8F3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F3166
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3166 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4A68
Deuteranopia (green-blind)
#585B64
Tritanopia (blue-blind)
#992D47
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f3166; /* rgb */ color: rgb(143, 49, 102); /* oklch */ color: oklch(46.6% 0.139 349.0);
Tailwind
colors: {
custom: {
50: '#b36f91',
500: '#8f3166',
950: '#000000',
},
}SCSS
$custom: #8f3166; $custom-light: #b36f91; $custom-dark: #000000;
JSON
{
"hex": "#8f3166",
"rgb": {
"r": 143,
"g": 49,
"b": 102
},
"hsl": {
"h": 326.17,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.46643,
"c": 0.13942,
"h": 349
},
"luminance": 0.08996
}Semantic roles & 50–950 ramp
primary
#8F3166
secondary
#67B589
accent
#D98B4F
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D