#8F1F76#8F1F76
#8F1F76 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.172 H 338.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F76 |
|---|---|
| RGB | rgb(143, 31, 118) |
| HSL | hsl(313, 64%, 34%) |
| HSV | hsv(313, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 17.5%, 43.9%) |
| CIE-LAB | lab(34.25, 54.13, -22.95) |
| CIE-LCH | lch(34.25, 58.80, 337.03°) |
| OKLab | oklab(45.61% 0.1609 -0.0622) |
| OKLCH | oklch(45.61% 0.172 338.9) |
| XYZ | xyz(15.0881, 8.1291, 17.9105) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.07
Warm Purple
#952E8F
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 5.89
Darkish Purple
#751973
ΔE00 5.91
Purple
#800080
ΔE00 6.21
Barney Purple
#A00498
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F76 #1F8F38
analogous
#701F8F #8F1F76 #8F1F3E
triadic
#8F1F76 #768F1F #1F768F
tetradic
#8F1F76 #8F701F #1F8F38 #1F3E8F
square
#8F1F76 #8F701F #1F8F38 #1F3E8F
split-complementary
#8F1F76 #3E8F1F #1F8F70
monochromatic
#2A0923 #5D144C #8F1F76 #C12AA0 #D94FBA
Accessibility & contrast
On white
8.00
#8F1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8F1F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F76
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F76 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#972449
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f1f76; /* rgb */ color: rgb(143, 31, 118); /* oklch */ color: oklch(45.6% 0.172 338.9);
Tailwind
colors: {
custom: {
50: '#b3689d',
500: '#8f1f76',
950: '#000000',
},
}SCSS
$custom: #8f1f76; $custom-light: #b3689d; $custom-dark: #000000;
JSON
{
"hex": "#8f1f76",
"rgb": {
"r": 143,
"g": 31,
"b": 118
},
"hsl": {
"h": 313.393,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.4561,
"c": 0.17249,
"h": 338.9
},
"luminance": 0.08128
}Semantic roles & 50–950 ramp
primary
#8F1F76
secondary
#4EBC66
accent
#E76640
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E