#8F2177#8F2177
#8F2177 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 338.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2177 |
|---|---|
| RGB | rgb(143, 33, 119) |
| HSL | hsl(313, 63%, 35%) |
| HSV | hsv(313, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 16.8%, 43.9%) |
| CIE-LAB | lab(34.52, 53.65, -23.15) |
| CIE-LCH | lch(34.52, 58.43, 336.66°) |
| OKLab | oklab(45.82% 0.1591 -0.0628) |
| OKLCH | oklch(45.82% 0.171 338.5) |
| XYZ | xyz(15.2017, 8.2607, 18.2431) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.85
Red Violet
#9E0168
ΔE00 5.24
Darkmagenta
#8B008B
ΔE00 5.88
Darkish Purple
#751973
ΔE00 5.96
Purple
#800080
ΔE00 6.26
Barney Purple
#A00498
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2177 #218F39
analogous
#70218F #8F2177 #8F2140
triadic
#8F2177 #778F21 #21778F
tetradic
#8F2177 #8F7021 #218F39 #21408F
square
#8F2177 #8F7021 #218F39 #21408F
split-complementary
#8F2177 #408F21 #218F70
monochromatic
#2C0A24 #5D164E #8F2177 #C12CA0 #D753BA
Accessibility & contrast
On white
7.92
#8F2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2177
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2177 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#97274A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2177; /* rgb */ color: rgb(143, 33, 119); /* oklch */ color: oklch(45.8% 0.171 338.5);
Tailwind
colors: {
custom: {
50: '#b3699e',
500: '#8f2177',
950: '#000000',
},
}SCSS
$custom: #8f2177; $custom-light: #b3699e; $custom-dark: #000000;
JSON
{
"hex": "#8f2177",
"rgb": {
"r": 143,
"g": 33,
"b": 119
},
"hsl": {
"h": 313.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.4582,
"c": 0.17105,
"h": 338.5
},
"luminance": 0.08259
}Semantic roles & 50–950 ramp
primary
#8F2177
secondary
#51BB68
accent
#E66642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E