#8F2167#8F2167
#8F2167 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 346.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2167 |
|---|---|
| RGB | rgb(143, 33, 103) |
| HSL | hsl(322, 63%, 35%) |
| HSV | hsv(322, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 28%, 43.9%) |
| CIE-LAB | lab(33.79, 51.44, -14.13) |
| CIE-LCH | lch(33.79, 53.35, 344.64°) |
| OKLab | oklab(45.05% 0.1564 -0.0374) |
| OKLCH | oklch(45.05% 0.161 346.5) |
| XYZ | xyz(14.3204, 7.9082, 13.6016) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.07
Dark Magenta
#960056
ΔE00 4.81
Deep Magenta
#A0025C
ΔE00 5.03
Dark Fuchsia
#9D0759
ΔE00 5.19
Reddish Purple
#910951
ΔE00 5.52
Mulberry
#920A4E
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2167 #218F49
analogous
#80218F #8F2167 #8F2130
triadic
#8F2167 #678F21 #21678F
tetradic
#8F2167 #8F8021 #218F49 #21308F
square
#8F2167 #8F8021 #218F49 #21308F
split-complementary
#8F2167 #308F21 #218F80
monochromatic
#2C0A1F #5D1643 #8F2167 #C12C8B #D753A7
Accessibility & contrast
On white
8.14
#8F2167 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8F2167 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2167
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2167 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2167 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#515665
Tritanopia (blue-blind)
#991E41
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f2167; /* rgb */ color: rgb(143, 33, 103); /* oklch */ color: oklch(45.1% 0.161 346.5);
Tailwind
colors: {
custom: {
50: '#b46892',
500: '#8f2167',
950: '#000000',
},
}SCSS
$custom: #8f2167; $custom-light: #b46892; $custom-dark: #000000;
JSON
{
"hex": "#8f2167",
"rgb": {
"r": 143,
"g": 33,
"b": 103
},
"hsl": {
"h": 321.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45054,
"c": 0.16078,
"h": 346.5
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#8F2167
secondary
#51BB77
accent
#E67E42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E