#8F1766#8F1766
#8F1766 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 346.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1766 |
|---|---|
| RGB | rgb(143, 23, 102) |
| HSL | hsl(321, 72%, 33%) |
| HSV | hsv(321, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 28.7%, 43.9%) |
| CIE-LAB | lab(32.73, 54.22, -15.12) |
| CIE-LCH | lch(32.73, 56.29, 344.42°) |
| OKLab | oklab(44.27% 0.1652 -0.0401) |
| OKLCH | oklch(44.27% 0.17 346.4) |
| XYZ | xyz(14.0331, 7.4134, 13.2597) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.80
Dark Magenta
#960056
ΔE00 4.62
Deep Magenta
#A0025C
ΔE00 5.07
Dark Fuchsia
#9D0759
ΔE00 5.25
Reddish Purple
#910951
ΔE00 5.42
Velvet
#750851
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1766 #178F40
analogous
#7C178F #8F1766 #8F172A
triadic
#8F1766 #668F17 #17668F
tetradic
#8F1766 #8F7C17 #178F40 #172A8F
square
#8F1766 #8F7C17 #178F40 #172A8F
split-complementary
#8F1766 #2A8F17 #178F7C
monochromatic
#26061B #5A0F40 #8F1766 #C41F8C #E040AA
Accessibility & contrast
On white
8.46
#8F1766 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8F1766 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1766
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1766 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1766 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#4F5463
Tritanopia (blue-blind)
#99123E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8f1766; /* rgb */ color: rgb(143, 23, 102); /* oklch */ color: oklch(44.3% 0.170 346.4);
Tailwind
colors: {
custom: {
50: '#b46491',
500: '#8f1766',
950: '#000000',
},
}SCSS
$custom: #8f1766; $custom-light: #b46491; $custom-dark: #000000;
JSON
{
"hex": "#8f1766",
"rgb": {
"r": 143,
"g": 23,
"b": 102
},
"hsl": {
"h": 320.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.44271,
"c": 0.17002,
"h": 346.4
},
"luminance": 0.07412
}Semantic roles & 50–950 ramp
primary
#8F1766
secondary
#41C16D
accent
#EF7739
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D