#8F1978#8F1978
#8F1978 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.180 H 337.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1978 |
|---|---|
| RGB | rgb(143, 25, 120) |
| HSL | hsl(312, 70%, 33%) |
| HSV | hsv(312, 83%, 56%) |
| CMYK | cmyk(0%, 82.5%, 16.1%, 43.9%) |
| CIE-LAB | lab(33.76, 56.12, -24.97) |
| CIE-LCH | lch(33.76, 61.43, 336.01°) |
| OKLab | oklab(45.29% 0.1662 -0.0679) |
| OKLCH | oklch(45.29% 0.18 337.8) |
| XYZ | xyz(15.0658, 7.8925, 18.4956) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.99
Darkmagenta
#8B008B
ΔE00 5.04
Purple
#800080
ΔE00 5.38
Darkish Purple
#751973
ΔE00 5.40
Red Violet
#9E0168
ΔE00 5.52
Barney Purple
#A00498
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1978 #198F30
analogous
#6B198F #8F1978 #8F193D
triadic
#8F1978 #788F19 #19788F
tetradic
#8F1978 #8F6B19 #198F30 #193D8F
square
#8F1978 #8F6B19 #198F30 #193D8F
split-complementary
#8F1978 #3D8F19 #198F6B
monochromatic
#270721 #5B104C #8F1978 #C322A4 #DE44C0
Accessibility & contrast
On white
8.15
#8F1978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F1978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1978
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1978 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#972148
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1978; /* rgb */ color: rgb(143, 25, 120); /* oklch */ color: oklch(45.3% 0.180 337.8);
Tailwind
colors: {
custom: {
50: '#b4669f',
500: '#8f1978',
950: '#000000',
},
}SCSS
$custom: #8f1978; $custom-light: #b4669f; $custom-dark: #000000;
JSON
{
"hex": "#8f1978",
"rgb": {
"r": 143,
"g": 25,
"b": 120
},
"hsl": {
"h": 311.695,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.45288,
"c": 0.17957,
"h": 337.8
},
"luminance": 0.07891
}Semantic roles & 50–950 ramp
primary
#8F1978
secondary
#44BF5C
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E