#8D1F74#8D1F74
#8D1F74 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.170 H 339.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F74 |
|---|---|
| RGB | rgb(141, 31, 116) |
| HSL | hsl(314, 64%, 34%) |
| HSV | hsv(314, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 17.7%, 44.7%) |
| CIE-LAB | lab(33.78, 53.36, -22.44) |
| CIE-LCH | lch(33.78, 57.88, 337.19°) |
| OKLab | oklab(45.17% 0.1587 -0.0608) |
| OKLCH | oklch(45.17% 0.17 339) |
| XYZ | xyz(14.6273, 7.9051, 17.2751) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.07
Warm Purple
#952E8F
ΔE00 5.47
Darkish Purple
#751973
ΔE00 5.67
Darkmagenta
#8B008B
ΔE00 6.03
Purple
#800080
ΔE00 6.16
Barney Purple
#A00498
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F74 #1F8D38
analogous
#6F1F8D #8D1F74 #8D1F3D
triadic
#8D1F74 #748D1F #1F748D
tetradic
#8D1F74 #8D6F1F #1F8D38 #1F3D8D
square
#8D1F74 #8D6F1F #1F8D38 #1F3D8D
split-complementary
#8D1F74 #3D8D1F #1F8D6F
monochromatic
#290921 #5B144B #8D1F74 #BF2A9D #D84EB9
Accessibility & contrast
On white
8.14
#8D1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8D1F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F74
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F74 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#952447
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1f74; /* rgb */ color: rgb(141, 31, 116); /* oklch */ color: oklch(45.2% 0.170 339.0);
Tailwind
colors: {
custom: {
50: '#b2679c',
500: '#8d1f74',
950: '#000000',
},
}SCSS
$custom: #8d1f74; $custom-light: #b2679c; $custom-dark: #000000;
JSON
{
"hex": "#8d1f74",
"rgb": {
"r": 141,
"g": 31,
"b": 116
},
"hsl": {
"h": 313.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.45173,
"c": 0.16991,
"h": 339
},
"luminance": 0.07904
}Semantic roles & 50–950 ramp
primary
#8D1F74
secondary
#4DBB66
accent
#E76741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E