#8D1F73#8D1F73
#8D1F73 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.169 H 339.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F73 |
|---|---|
| RGB | rgb(141, 31, 115) |
| HSL | hsl(314, 64%, 34%) |
| HSV | hsv(314, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 18.4%, 44.7%) |
| CIE-LAB | lab(33.74, 53.21, -21.88) |
| CIE-LCH | lch(33.74, 57.54, 337.65°) |
| OKLab | oklab(45.12% 0.1585 -0.0592) |
| OKLCH | oklch(45.12% 0.169 339.5) |
| XYZ | xyz(14.5694, 7.8819, 16.9704) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 5.66
Darkish Purple
#751973
ΔE00 5.79
Darkmagenta
#8B008B
ΔE00 6.24
Purple
#800080
ΔE00 6.34
Bruise
#7E4071
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F73 #1F8D39
analogous
#701F8D #8D1F73 #8D1F3C
triadic
#8D1F73 #738D1F #1F738D
tetradic
#8D1F73 #8D701F #1F8D39 #1F3C8D
square
#8D1F73 #8D701F #1F8D39 #1F3C8D
split-complementary
#8D1F73 #3C8D1F #1F8D70
monochromatic
#290921 #5B144A #8D1F73 #BF2A9C #D84EB8
Accessibility & contrast
On white
8.15
#8D1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8D1F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F73
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F73 | 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)
#274475
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#952347
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1f73; /* rgb */ color: rgb(141, 31, 115); /* oklch */ color: oklch(45.1% 0.169 339.5);
Tailwind
colors: {
custom: {
50: '#b2679b',
500: '#8d1f73',
950: '#000000',
},
}SCSS
$custom: #8d1f73; $custom-light: #b2679b; $custom-dark: #000000;
JSON
{
"hex": "#8d1f73",
"rgb": {
"r": 141,
"g": 31,
"b": 115
},
"hsl": {
"h": 314.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.45122,
"c": 0.16923,
"h": 339.5
},
"luminance": 0.0788
}Semantic roles & 50–950 ramp
primary
#8D1F73
secondary
#4DBB67
accent
#E76841
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E