#8F1972#8F1972
#8F1972 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.176 H 340.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1972 |
|---|---|
| RGB | rgb(143, 25, 114) |
| HSL | hsl(315, 70%, 33%) |
| HSV | hsv(315, 83%, 56%) |
| CMYK | cmyk(0%, 82.5%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.46, 55.28, -21.65) |
| CIE-LCH | lch(33.46, 59.37, 338.61°) |
| OKLab | oklab(44.98% 0.1656 -0.0585) |
| OKLCH | oklch(44.98% 0.176 340.6) |
| XYZ | xyz(14.7131, 7.7513, 16.6376) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.42
Darkish Purple
#751973
ΔE00 6.01
Warm Purple
#952E8F
ΔE00 6.03
Darkmagenta
#8B008B
ΔE00 6.29
Purple
#800080
ΔE00 6.38
Rich Purple
#720058
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1972 #198F36
analogous
#71198F #8F1972 #8F1937
triadic
#8F1972 #728F19 #19728F
tetradic
#8F1972 #8F7119 #198F36 #19378F
square
#8F1972 #8F7119 #198F36 #19378F
split-complementary
#8F1972 #378F19 #198F71
monochromatic
#27071F #5B1048 #8F1972 #C3229C #DE44B8
Accessibility & contrast
On white
8.24
#8F1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8F1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1972
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1972 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981D45
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1972; /* rgb */ color: rgb(143, 25, 114); /* oklch */ color: oklch(45.0% 0.176 340.6);
Tailwind
colors: {
custom: {
50: '#b4669a',
500: '#8f1972',
950: '#000000',
},
}SCSS
$custom: #8f1972; $custom-light: #b4669a; $custom-dark: #000000;
JSON
{
"hex": "#8f1972",
"rgb": {
"r": 143,
"g": 25,
"b": 114
},
"hsl": {
"h": 314.746,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.44977,
"c": 0.17561,
"h": 340.6
},
"luminance": 0.0775
}Semantic roles & 50–950 ramp
primary
#8F1972
secondary
#44BF63
accent
#ED673B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E