#8F2176#8F2176
#8F2176 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.170 H 338.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2176 |
|---|---|
| RGB | rgb(143, 33, 118) |
| HSL | hsl(314, 63%, 35%) |
| HSV | hsv(314, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 17.5%, 43.9%) |
| CIE-LAB | lab(34.47, 53.50, -22.60) |
| CIE-LCH | lch(34.47, 58.08, 337.10°) |
| OKLab | oklab(45.77% 0.159 -0.0612) |
| OKLCH | oklch(45.77% 0.17 338.9) |
| XYZ | xyz(15.1419, 8.2368, 17.9284) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.04
Red Violet
#9E0168
ΔE00 5.06
Darkish Purple
#751973
ΔE00 6.05
Darkmagenta
#8B008B
ΔE00 6.08
Purple
#800080
ΔE00 6.42
Barney Purple
#A00498
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2176 #218F3A
analogous
#71218F #8F2176 #8F213F
triadic
#8F2176 #768F21 #21768F
tetradic
#8F2176 #8F7121 #218F3A #213F8F
square
#8F2176 #8F7121 #218F3A #213F8F
split-complementary
#8F2176 #3F8F21 #218F71
monochromatic
#2C0A24 #5D164D #8F2176 #C12C9F #D753B9
Accessibility & contrast
On white
7.93
#8F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2176
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2176 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#972649
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2176; /* rgb */ color: rgb(143, 33, 118); /* oklch */ color: oklch(45.8% 0.170 338.9);
Tailwind
colors: {
custom: {
50: '#b3699d',
500: '#8f2176',
950: '#000000',
},
}SCSS
$custom: #8f2176; $custom-light: #b3699d; $custom-dark: #000000;
JSON
{
"hex": "#8f2176",
"rgb": {
"r": 143,
"g": 33,
"b": 118
},
"hsl": {
"h": 313.636,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45769,
"c": 0.17036,
"h": 338.9
},
"luminance": 0.08235
}Semantic roles & 50–950 ramp
primary
#8F2176
secondary
#51BB69
accent
#E66742
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E