#8F1977#8F1977
#8F1977 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 338.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1977 |
|---|---|
| RGB | rgb(143, 25, 119) |
| HSL | hsl(312, 70%, 33%) |
| HSV | hsv(312, 83%, 56%) |
| CMYK | cmyk(0%, 82.5%, 16.8%, 43.9%) |
| CIE-LAB | lab(33.71, 55.98, -24.42) |
| CIE-LCH | lch(33.71, 61.08, 336.43°) |
| OKLab | oklab(45.24% 0.1661 -0.0664) |
| OKLCH | oklch(45.24% 0.179 338.2) |
| XYZ | xyz(15.0055, 7.8683, 18.1777) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.16
Darkmagenta
#8B008B
ΔE00 5.24
Red Violet
#9E0168
ΔE00 5.33
Darkish Purple
#751973
ΔE00 5.48
Purple
#800080
ΔE00 5.53
Barney Purple
#A00498
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1977 #198F31
analogous
#6C198F #8F1977 #8F193C
triadic
#8F1977 #778F19 #19778F
tetradic
#8F1977 #8F6C19 #198F31 #193C8F
square
#8F1977 #8F6C19 #198F31 #193C8F
split-complementary
#8F1977 #3C8F19 #198F6C
monochromatic
#270720 #5B104C #8F1977 #C322A2 #DE44BF
Accessibility & contrast
On white
8.16
#8F1977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F1977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1977
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1977 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#495674
Tritanopia (blue-blind)
#972048
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1977; /* rgb */ color: rgb(143, 25, 119); /* oklch */ color: oklch(45.2% 0.179 338.2);
Tailwind
colors: {
custom: {
50: '#b4669e',
500: '#8f1977',
950: '#000000',
},
}SCSS
$custom: #8f1977; $custom-light: #b4669e; $custom-dark: #000000;
JSON
{
"hex": "#8f1977",
"rgb": {
"r": 143,
"g": 25,
"b": 119
},
"hsl": {
"h": 312.203,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.45235,
"c": 0.1789,
"h": 338.2
},
"luminance": 0.07867
}Semantic roles & 50–950 ramp
primary
#8F1977
secondary
#44BF5D
accent
#ED5F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E