#8F2166#8F2166
#8F2166 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 347.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2166 |
|---|---|
| RGB | rgb(143, 33, 102) |
| HSL | hsl(322, 63%, 35%) |
| HSV | hsv(322, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 28.7%, 43.9%) |
| CIE-LAB | lab(33.75, 51.31, -13.56) |
| CIE-LCH | lch(33.75, 53.07, 345.20°) |
| OKLab | oklab(45.01% 0.1561 -0.0358) |
| OKLCH | oklch(45.01% 0.16 347.1) |
| XYZ | xyz(14.2705, 7.8883, 13.3389) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.05
Dark Magenta
#960056
ΔE00 4.60
Deep Magenta
#A0025C
ΔE00 4.85
Dark Fuchsia
#9D0759
ΔE00 4.98
Reddish Purple
#910951
ΔE00 5.29
Mulberry
#920A4E
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2166 #218F4A
analogous
#81218F #8F2166 #8F212F
triadic
#8F2166 #668F21 #21668F
tetradic
#8F2166 #8F8121 #218F4A #212F8F
square
#8F2166 #8F8121 #218F4A #212F8F
split-complementary
#8F2166 #2F8F21 #218F81
monochromatic
#2C0A1F #5D1643 #8F2166 #C12C89 #D753A6
Accessibility & contrast
On white
8.15
#8F2166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F2166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2166
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2166 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#525664
Tritanopia (blue-blind)
#991D41
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f2166; /* rgb */ color: rgb(143, 33, 102); /* oklch */ color: oklch(45.0% 0.160 347.1);
Tailwind
colors: {
custom: {
50: '#b46891',
500: '#8f2166',
950: '#000000',
},
}SCSS
$custom: #8f2166; $custom-light: #b46891; $custom-dark: #000000;
JSON
{
"hex": "#8f2166",
"rgb": {
"r": 143,
"g": 33,
"b": 102
},
"hsl": {
"h": 322.364,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.4501,
"c": 0.16019,
"h": 347.1
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#8F2166
secondary
#51BB78
accent
#E67F42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D