#8C2175#8C2175
#8C2175 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.168 H 338.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2175 |
|---|---|
| RGB | rgb(140, 33, 117) |
| HSL | hsl(313, 62%, 34%) |
| HSV | hsv(313, 76%, 55%) |
| CMYK | cmyk(0%, 76.4%, 16.4%, 45.1%) |
| CIE-LAB | lab(33.88, 52.61, -22.94) |
| CIE-LCH | lch(33.88, 57.40, 336.44°) |
| OKLab | oklab(45.22% 0.1558 -0.0622) |
| OKLCH | oklch(45.22% 0.168 338.2) |
| XYZ | xyz(14.5703, 7.9489, 17.5931) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.22
Red Violet
#9E0168
ΔE00 5.42
Darkish Purple
#751973
ΔE00 5.49
Darkmagenta
#8B008B
ΔE00 5.87
Purple
#800080
ΔE00 6.02
Barney Purple
#A00498
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2175 #218C38
analogous
#6E218C #8C2175 #8C2140
triadic
#8C2175 #758C21 #21758C
tetradic
#8C2175 #8C6E21 #218C38 #21408C
square
#8C2175 #8C6E21 #218C38 #21408C
split-complementary
#8C2175 #408C21 #218C6E
monochromatic
#290A22 #5A154C #8C2175 #BE2D9E #D651BA
Accessibility & contrast
On white
8.11
#8C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8C2175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2175
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2175 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#942749
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8c2175; /* rgb */ color: rgb(140, 33, 117); /* oklch */ color: oklch(45.2% 0.168 338.2);
Tailwind
colors: {
custom: {
50: '#b1689d',
500: '#8c2175',
950: '#000000',
},
}SCSS
$custom: #8c2175; $custom-light: #b1689d; $custom-dark: #000000;
JSON
{
"hex": "#8c2175",
"rgb": {
"r": 140,
"g": 33,
"b": 117
},
"hsl": {
"h": 312.897,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.45221,
"c": 0.16782,
"h": 338.2
},
"luminance": 0.07948
}Semantic roles & 50–950 ramp
primary
#8C2175
secondary
#4FB966
accent
#E56643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E