#8F1F79#8F1F79
#8F1F79 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.175 H 337.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F79 |
|---|---|
| RGB | rgb(143, 31, 121) |
| HSL | hsl(312, 64%, 34%) |
| HSV | hsv(312, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 15.4%, 43.9%) |
| CIE-LAB | lab(34.40, 54.57, -24.60) |
| CIE-LCH | lch(34.40, 59.86, 335.73°) |
| OKLab | oklab(45.77% 0.1612 -0.0669) |
| OKLCH | oklch(45.77% 0.175 337.5) |
| XYZ | xyz(15.2692, 8.2015, 18.8644) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.56
Darkmagenta
#8B008B
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.62
Darkish Purple
#751973
ΔE00 5.65
Purple
#800080
ΔE00 5.76
Barney Purple
#A00498
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F79 #1F8F35
analogous
#6D1F8F #8F1F79 #8F1F41
triadic
#8F1F79 #798F1F #1F798F
tetradic
#8F1F79 #8F6D1F #1F8F35 #1F418F
square
#8F1F79 #8F6D1F #1F8F35 #1F418F
split-complementary
#8F1F79 #418F1F #1F8F6D
monochromatic
#2A0924 #5D144E #8F1F79 #C12AA4 #D94FBE
Accessibility & contrast
On white
7.95
#8F1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F79
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F79 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#97264A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f1f79; /* rgb */ color: rgb(143, 31, 121); /* oklch */ color: oklch(45.8% 0.175 337.5);
Tailwind
colors: {
custom: {
50: '#b368a0',
500: '#8f1f79',
950: '#000000',
},
}SCSS
$custom: #8f1f79; $custom-light: #b368a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1f79",
"rgb": {
"r": 143,
"g": 31,
"b": 121
},
"hsl": {
"h": 311.786,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45766,
"c": 0.17455,
"h": 337.5
},
"luminance": 0.082
}Semantic roles & 50–950 ramp
primary
#8F1F79
secondary
#4EBC63
accent
#E76140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E