#8F1878#8F1878
#8F1878 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.180 H 337.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1878 |
|---|---|
| RGB | rgb(143, 24, 120) |
| HSL | hsl(312, 71%, 33%) |
| HSV | hsv(312, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 16.1%, 43.9%) |
| CIE-LAB | lab(33.67, 56.38, -25.11) |
| CIE-LCH | lch(33.67, 61.72, 335.99°) |
| OKLab | oklab(45.23% 0.167 -0.0683) |
| OKLCH | oklch(45.23% 0.18 337.8) |
| XYZ | xyz(15.0448, 7.8505, 18.4886) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.97
Warm Purple
#952E8F
ΔE00 5.04
Purple
#800080
ΔE00 5.30
Darkish Purple
#751973
ΔE00 5.36
Red Violet
#9E0168
ΔE00 5.54
Barney Purple
#A00498
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1878 #188F2F
analogous
#6B188F #8F1878 #8F183C
triadic
#8F1878 #788F18 #18788F
tetradic
#8F1878 #8F6B18 #188F2F #183C8F
square
#8F1878 #8F6B18 #188F2F #183C8F
split-complementary
#8F1878 #3C8F18 #188F6B
monochromatic
#260620 #5B0F4C #8F1878 #C321A4 #DF42C1
Accessibility & contrast
On white
8.17
#8F1878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F1878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1878
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1878 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#972048
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1878; /* rgb */ color: rgb(143, 24, 120); /* oklch */ color: oklch(45.2% 0.180 337.8);
Tailwind
colors: {
custom: {
50: '#b4659f',
500: '#8f1878',
950: '#000000',
},
}SCSS
$custom: #8f1878; $custom-light: #b4659f; $custom-dark: #000000;
JSON
{
"hex": "#8f1878",
"rgb": {
"r": 143,
"g": 24,
"b": 120
},
"hsl": {
"h": 311.597,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.45225,
"c": 0.18043,
"h": 337.8
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#8F1878
secondary
#43C05B
accent
#EE5D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E