#8C3166#8C3166
#8C3166 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.137 H 347.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3166 |
|---|---|
| RGB | rgb(140, 49, 102) |
| HSL | hsl(325, 48%, 37%) |
| HSV | hsv(325, 65%, 55%) |
| CMYK | cmyk(0%, 65%, 27.1%, 45.1%) |
| CIE-LAB | lab(35.46, 44.18, -11.00) |
| CIE-LCH | lch(35.46, 45.53, 346.02°) |
| OKLab | oklab(46.17% 0.1337 -0.0289) |
| OKLCH | oklch(46.17% 0.137 347.8) |
| XYZ | xyz(14.3124, 8.7328, 13.4996) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.17
Bruise
#7E4071
ΔE00 5.41
Dark Fuchsia
#9D0759
ΔE00 5.91
Deep Magenta
#A0025C
ΔE00 5.92
Dark Magenta
#960056
ΔE00 5.94
Reddish Purple
#910951
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3166 #318C57
analogous
#85318C #8C3166 #8C3139
triadic
#8C3166 #668C31 #31668C
tetradic
#8C3166 #8C8531 #318C57 #31398C
square
#8C3166 #8C8531 #318C57 #31398C
split-complementary
#8C3166 #398C31 #318C85
monochromatic
#311124 #5F2145 #8C3166 #B94187 #CC6CA4
Accessibility & contrast
On white
7.65
#8C3166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#8C3166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C3166
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3166 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4968
Deuteranopia (green-blind)
#565964
Tritanopia (blue-blind)
#962E47
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8c3166; /* rgb */ color: rgb(140, 49, 102); /* oklch */ color: oklch(46.2% 0.137 347.8);
Tailwind
colors: {
custom: {
50: '#b16f91',
500: '#8c3166',
950: '#000000',
},
}SCSS
$custom: #8c3166; $custom-light: #b16f91; $custom-dark: #000000;
JSON
{
"hex": "#8c3166",
"rgb": {
"r": 140,
"g": 49,
"b": 102
},
"hsl": {
"h": 325.055,
"s": 48.148,
"l": 37.059
},
"oklch": {
"l": 0.46165,
"c": 0.13681,
"h": 347.8
},
"luminance": 0.08731
}Semantic roles & 50–950 ramp
primary
#8C3166
secondary
#66B386
accent
#D88950
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D