#8F2170#8F2170
#8F2170 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.166 H 341.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2170 |
|---|---|
| RGB | rgb(143, 33, 112) |
| HSL | hsl(317, 63%, 35%) |
| HSV | hsv(317, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 21.7%, 43.9%) |
| CIE-LAB | lab(34.19, 52.65, -19.25) |
| CIE-LCH | lch(34.19, 56.06, 339.92°) |
| OKLab | oklab(45.47% 0.1581 -0.0517) |
| OKLCH | oklch(45.47% 0.166 341.9) |
| XYZ | xyz(14.7967, 8.0987, 16.1100) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 6.27
Bruise
#7E4071
ΔE00 6.67
Dark Magenta
#960056
ΔE00 6.77
Darkish Purple
#751973
ΔE00 6.79
Deep Magenta
#A0025C
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2170 #218F40
analogous
#77218F #8F2170 #8F2139
triadic
#8F2170 #708F21 #21708F
tetradic
#8F2170 #8F7721 #218F40 #21398F
square
#8F2170 #8F7721 #218F40 #21398F
split-complementary
#8F2170 #398F21 #218F77
monochromatic
#2C0A22 #5D1649 #8F2170 #C12C97 #D753B2
Accessibility & contrast
On white
8.02
#8F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8F2170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2170
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2170 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4572
Deuteranopia (green-blind)
#4E576D
Tritanopia (blue-blind)
#982346
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f2170; /* rgb */ color: rgb(143, 33, 112); /* oklch */ color: oklch(45.5% 0.166 341.9);
Tailwind
colors: {
custom: {
50: '#b46899',
500: '#8f2170',
950: '#000000',
},
}SCSS
$custom: #8f2170; $custom-light: #b46899; $custom-dark: #000000;
JSON
{
"hex": "#8f2170",
"rgb": {
"r": 143,
"g": 33,
"b": 112
},
"hsl": {
"h": 316.909,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45472,
"c": 0.16635,
"h": 341.9
},
"luminance": 0.08097
}Semantic roles & 50–950 ramp
primary
#8F2170
secondary
#51BB6F
accent
#E67042
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E