#8F1879#8F1879
#8F1879 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.181 H 337.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1879 |
|---|---|
| RGB | rgb(143, 24, 121) |
| HSL | hsl(311, 71%, 33%) |
| HSV | hsv(311, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 15.4%, 43.9%) |
| CIE-LAB | lab(33.72, 56.52, -25.66) |
| CIE-LCH | lch(33.72, 62.07, 335.58°) |
| OKLab | oklab(45.28% 0.1671 -0.0699) |
| OKLCH | oklch(45.28% 0.181 337.3) |
| XYZ | xyz(15.1058, 7.8749, 18.8099) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.77
Warm Purple
#952E8F
ΔE00 4.89
Purple
#800080
ΔE00 5.15
Darkish Purple
#751973
ΔE00 5.29
Barney Purple
#A00498
ΔE00 5.64
Red Violet
#9E0168
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1879 #188F2E
analogous
#69188F #8F1879 #8F183E
triadic
#8F1879 #798F18 #18798F
tetradic
#8F1879 #8F6918 #188F2E #183E8F
square
#8F1879 #8F6918 #188F2E #183E8F
split-complementary
#8F1879 #3E8F18 #188F69
monochromatic
#260620 #5B0F4D #8F1879 #C321A5 #DF42C2
Accessibility & contrast
On white
8.16
#8F1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1879
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1879 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#485676
Tritanopia (blue-blind)
#972149
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1879; /* rgb */ color: rgb(143, 24, 121); /* oklch */ color: oklch(45.3% 0.181 337.3);
Tailwind
colors: {
custom: {
50: '#b466a0',
500: '#8f1879',
950: '#000000',
},
}SCSS
$custom: #8f1879; $custom-light: #b466a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1879",
"rgb": {
"r": 143,
"g": 24,
"b": 121
},
"hsl": {
"h": 311.092,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.45278,
"c": 0.18111,
"h": 337.3
},
"luminance": 0.07873
}Semantic roles & 50–950 ramp
primary
#8F1879
secondary
#43C05A
accent
#EE5B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E