#8F216F#8F216F
#8F216F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 342.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8F216F |
|---|---|
| RGB | rgb(143, 33, 111) |
| HSL | hsl(317, 63%, 35%) |
| HSV | hsv(317, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 22.4%, 43.9%) |
| CIE-LAB | lab(34.14, 52.51, -18.69) |
| CIE-LCH | lch(34.14, 55.74, 340.41°) |
| OKLab | oklab(45.42% 0.1579 -0.0501) |
| OKLCH | oklch(45.42% 0.166 342.4) |
| XYZ | xyz(14.7413, 8.0766, 15.8184) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.89
Warm Purple
#952E8F
ΔE00 6.49
Dark Magenta
#960056
ΔE00 6.55
Deep Magenta
#A0025C
ΔE00 6.61
Bruise
#7E4071
ΔE00 6.68
Dark Fuchsia
#9D0759
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F216F #218F41
analogous
#78218F #8F216F #8F2138
triadic
#8F216F #6F8F21 #216F8F
tetradic
#8F216F #8F7821 #218F41 #21388F
square
#8F216F #8F7821 #218F41 #21388F
split-complementary
#8F216F #388F21 #218F78
monochromatic
#2C0A22 #5D1648 #8F216F #C12C96 #D753B1
Accessibility & contrast
On white
8.03
#8F216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8F216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F216F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F216F | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4F576C
Tritanopia (blue-blind)
#982245
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f216f; /* rgb */ color: rgb(143, 33, 111); /* oklch */ color: oklch(45.4% 0.166 342.4);
Tailwind
colors: {
custom: {
50: '#b46898',
500: '#8f216f',
950: '#000000',
},
}SCSS
$custom: #8f216f; $custom-light: #b46898; $custom-dark: #000000;
JSON
{
"hex": "#8f216f",
"rgb": {
"r": 143,
"g": 33,
"b": 111
},
"hsl": {
"h": 317.455,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45424,
"c": 0.16571,
"h": 342.4
},
"luminance": 0.08075
}Semantic roles & 50–950 ramp
primary
#8F216F
secondary
#51BB70
accent
#E67242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E