#8F2179#8F2179
#8F2179 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.172 H 337.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2179 |
|---|---|
| RGB | rgb(143, 33, 121) |
| HSL | hsl(312, 63%, 35%) |
| HSV | hsv(312, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 15.4%, 43.9%) |
| CIE-LAB | lab(34.62, 53.94, -24.26) |
| CIE-LCH | lch(34.62, 59.15, 335.79°) |
| OKLab | oklab(45.92% 0.1593 -0.0659) |
| OKLCH | oklch(45.92% 0.172 337.5) |
| XYZ | xyz(15.3231, 8.3093, 18.8823) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 5.49
Red Violet
#9E0168
ΔE00 5.61
Darkish Purple
#751973
ΔE00 5.79
Barney Purple
#A00498
ΔE00 5.89
Purple
#800080
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2179 #218F37
analogous
#6E218F #8F2179 #8F2142
triadic
#8F2179 #798F21 #21798F
tetradic
#8F2179 #8F6E21 #218F37 #21428F
square
#8F2179 #8F6E21 #218F37 #21428F
split-complementary
#8F2179 #428F21 #218F6E
monochromatic
#2C0A25 #5D164F #8F2179 #C12CA3 #D753BD
Accessibility & contrast
On white
7.89
#8F2179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F2179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2179
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2179 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#4B5776
Tritanopia (blue-blind)
#97284B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2179; /* rgb */ color: rgb(143, 33, 121); /* oklch */ color: oklch(45.9% 0.172 337.5);
Tailwind
colors: {
custom: {
50: '#b369a0',
500: '#8f2179',
950: '#000000',
},
}SCSS
$custom: #8f2179; $custom-light: #b369a0; $custom-dark: #000000;
JSON
{
"hex": "#8f2179",
"rgb": {
"r": 143,
"g": 33,
"b": 121
},
"hsl": {
"h": 312,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45924,
"c": 0.17245,
"h": 337.5
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#8F2179
secondary
#51BB66
accent
#E66342
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E