#8F1F73#8F1F73
#8F1F73 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 340.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F73 |
|---|---|
| RGB | rgb(143, 31, 115) |
| HSL | hsl(315, 64%, 34%) |
| HSV | hsv(315, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 19.6%, 43.9%) |
| CIE-LAB | lab(34.11, 53.70, -21.28) |
| CIE-LCH | lch(34.11, 57.77, 338.39°) |
| OKLab | oklab(45.46% 0.1605 -0.0574) |
| OKLCH | oklch(45.46% 0.17 340.3) |
| XYZ | xyz(14.9126, 8.0589, 16.9865) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.68
Darkish Purple
#751973
ΔE00 6.24
Darkmagenta
#8B008B
ΔE00 6.52
Purple
#800080
ΔE00 6.71
Bruise
#7E4071
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F73 #1F8F3B
analogous
#731F8F #8F1F73 #8F1F3B
triadic
#8F1F73 #738F1F #1F738F
tetradic
#8F1F73 #8F731F #1F8F3B #1F3B8F
square
#8F1F73 #8F731F #1F8F3B #1F3B8F
split-complementary
#8F1F73 #3B8F1F #1F8F73
monochromatic
#2A0922 #5D144B #8F1F73 #C12A9B #D94FB7
Accessibility & contrast
On white
8.04
#8F1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8F1F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F73
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F73 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#982347
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f1f73; /* rgb */ color: rgb(143, 31, 115); /* oklch */ color: oklch(45.5% 0.170 340.3);
Tailwind
colors: {
custom: {
50: '#b4689b',
500: '#8f1f73',
950: '#000000',
},
}SCSS
$custom: #8f1f73; $custom-light: #b4689b; $custom-dark: #000000;
JSON
{
"hex": "#8f1f73",
"rgb": {
"r": 143,
"g": 31,
"b": 115
},
"hsl": {
"h": 315,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45458,
"c": 0.17047,
"h": 340.3
},
"luminance": 0.08057
}Semantic roles & 50–950 ramp
primary
#8F1F73
secondary
#4EBC69
accent
#E76A40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E