#8F1F74#8F1F74
#8F1F74 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 339.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F74 |
|---|---|
| RGB | rgb(143, 31, 116) |
| HSL | hsl(314, 64%, 34%) |
| HSV | hsv(314, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 18.9%, 43.9%) |
| CIE-LAB | lab(34.15, 53.85, -21.83) |
| CIE-LCH | lch(34.15, 58.10, 337.93°) |
| OKLab | oklab(45.51% 0.1606 -0.059) |
| OKLCH | oklch(45.51% 0.171 339.8) |
| XYZ | xyz(14.9705, 8.0821, 17.2912) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.49
Darkish Purple
#751973
ΔE00 6.12
Darkmagenta
#8B008B
ΔE00 6.31
Purple
#800080
ΔE00 6.54
Barney Purple
#A00498
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F74 #1F8F3A
analogous
#721F8F #8F1F74 #8F1F3C
triadic
#8F1F74 #748F1F #1F748F
tetradic
#8F1F74 #8F721F #1F8F3A #1F3C8F
square
#8F1F74 #8F721F #1F8F3A #1F3C8F
split-complementary
#8F1F74 #3C8F1F #1F8F72
monochromatic
#2A0922 #5D144B #8F1F74 #C12A9D #D94FB8
Accessibility & contrast
On white
8.03
#8F1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8F1F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F74
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F74 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#4C5771
Tritanopia (blue-blind)
#982347
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f1f74; /* rgb */ color: rgb(143, 31, 116); /* oklch */ color: oklch(45.5% 0.171 339.8);
Tailwind
colors: {
custom: {
50: '#b4689c',
500: '#8f1f74',
950: '#000000',
},
}SCSS
$custom: #8f1f74; $custom-light: #b4689c; $custom-dark: #000000;
JSON
{
"hex": "#8f1f74",
"rgb": {
"r": 143,
"g": 31,
"b": 116
},
"hsl": {
"h": 314.464,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45508,
"c": 0.17114,
"h": 339.8
},
"luminance": 0.08081
}Semantic roles & 50–950 ramp
primary
#8F1F74
secondary
#4EBC68
accent
#E76940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E