#8C1771#8C1771
#8C1771 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.175 H 339.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1771 |
|---|---|
| RGB | rgb(140, 23, 113) |
| HSL | hsl(314, 72%, 32%) |
| HSV | hsv(314, 84%, 55%) |
| CMYK | cmyk(0%, 83.6%, 19.3%, 45.1%) |
| CIE-LAB | lab(32.66, 54.96, -22.30) |
| CIE-LCH | lch(32.66, 59.31, 337.91°) |
| OKLab | oklab(44.28% 0.1642 -0.0603) |
| OKLCH | oklch(44.28% 0.175 339.8) |
| XYZ | xyz(14.1027, 7.3820, 16.3017) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.89
Darkish Purple
#751973
ΔE00 5.37
Purple
#800080
ΔE00 5.85
Darkmagenta
#8B008B
ΔE00 5.99
Warm Purple
#952E8F
ΔE00 6.28
Rich Purple
#720058
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1771 #178C32
analogous
#6D178C #8C1771 #8C1737
triadic
#8C1771 #718C17 #17718C
tetradic
#8C1771 #8C6D17 #178C32 #17378C
square
#8C1771 #8C6D17 #178C32 #17378C
split-complementary
#8C1771 #378C17 #178C6D
monochromatic
#23061C #570E47 #8C1771 #C1209B #DF3EBA
Accessibility & contrast
On white
8.48
#8C1771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8C1771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1771
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1771 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#951C44
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8c1771; /* rgb */ color: rgb(140, 23, 113); /* oklch */ color: oklch(44.3% 0.175 339.8);
Tailwind
colors: {
custom: {
50: '#b2649a',
500: '#8c1771',
950: '#000000',
},
}SCSS
$custom: #8c1771; $custom-light: #b2649a; $custom-dark: #000000;
JSON
{
"hex": "#8c1771",
"rgb": {
"r": 140,
"g": 23,
"b": 113
},
"hsl": {
"h": 313.846,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.44282,
"c": 0.17495,
"h": 339.8
},
"luminance": 0.0738
}Semantic roles & 50–950 ramp
primary
#8C1771
secondary
#3FBF5D
accent
#EF6339
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E