#8F1772#8F1772
#8F1772 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.177 H 340.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1772 |
|---|---|
| RGB | rgb(143, 23, 114) |
| HSL | hsl(315, 72%, 33%) |
| HSV | hsv(315, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.28, 55.79, -21.92) |
| CIE-LCH | lch(33.28, 59.94, 338.55°) |
| OKLab | oklab(44.85% 0.1671 -0.0592) |
| OKLCH | oklch(44.85% 0.177 340.5) |
| XYZ | xyz(14.6718, 7.6689, 16.6239) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Darkish Purple
#751973
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.09
Darkmagenta
#8B008B
ΔE00 6.17
Purple
#800080
ΔE00 6.24
Rich Purple
#720058
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1772 #178F34
analogous
#70178F #8F1772 #8F1736
triadic
#8F1772 #728F17 #17728F
tetradic
#8F1772 #8F7017 #178F34 #17368F
square
#8F1772 #8F7017 #178F34 #17368F
split-complementary
#8F1772 #368F17 #178F70
monochromatic
#26061E #5A0F48 #8F1772 #C41F9C #E040BA
Accessibility & contrast
On white
8.29
#8F1772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8F1772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1772
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1772 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981B44
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1772; /* rgb */ color: rgb(143, 23, 114); /* oklch */ color: oklch(44.9% 0.177 340.5);
Tailwind
colors: {
custom: {
50: '#b4659b',
500: '#8f1772',
950: '#000000',
},
}SCSS
$custom: #8f1772; $custom-light: #b4659b; $custom-dark: #000000;
JSON
{
"hex": "#8f1772",
"rgb": {
"r": 143,
"g": 23,
"b": 114
},
"hsl": {
"h": 314.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.4485,
"c": 0.17732,
"h": 340.5
},
"luminance": 0.07667
}Semantic roles & 50–950 ramp
primary
#8F1772
secondary
#41C160
accent
#EF6539
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E