#8F1B74#8F1B74
#8F1B74 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.175 H 339.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1B74 |
|---|---|
| RGB | rgb(143, 27, 116) |
| HSL | hsl(314, 68%, 33%) |
| HSV | hsv(314, 81%, 56%) |
| CMYK | cmyk(0%, 81.1%, 18.9%, 43.9%) |
| CIE-LAB | lab(33.74, 55.02, -22.47) |
| CIE-LCH | lch(33.74, 59.43, 337.78°) |
| OKLab | oklab(45.21% 0.1642 -0.0608) |
| OKLCH | oklch(45.21% 0.175 339.7) |
| XYZ | xyz(14.8724, 7.8860, 17.2585) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.74
Warm Purple
#952E8F
ΔE00 5.60
Darkish Purple
#751973
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 6.00
Purple
#800080
ΔE00 6.18
Barney Purple
#A00498
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1B74 #1B8F36
analogous
#701B8F #8F1B74 #8F1B3A
triadic
#8F1B74 #748F1B #1B748F
tetradic
#8F1B74 #8F701B #1B8F36 #1B3A8F
square
#8F1B74 #8F701B #1B8F36 #1B3A8F
split-complementary
#8F1B74 #3A8F1B #1B8F70
monochromatic
#280820 #5C114A #8F1B74 #C2259E #DC48BA
Accessibility & contrast
On white
8.15
#8F1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F1B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1B74
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1B74 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#982046
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1b74; /* rgb */ color: rgb(143, 27, 116); /* oklch */ color: oklch(45.2% 0.175 339.7);
Tailwind
colors: {
custom: {
50: '#b4669c',
500: '#8f1b74',
950: '#000000',
},
}SCSS
$custom: #8f1b74; $custom-light: #b4669c; $custom-dark: #000000;
JSON
{
"hex": "#8f1b74",
"rgb": {
"r": 143,
"g": 27,
"b": 116
},
"hsl": {
"h": 313.966,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.45213,
"c": 0.17509,
"h": 339.7
},
"luminance": 0.07884
}Semantic roles & 50–950 ramp
primary
#8F1B74
secondary
#48BE63
accent
#EB653D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E