#8F1874#8F1874
#8F1874 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 339.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1874 |
|---|---|
| RGB | rgb(143, 24, 116) |
| HSL | hsl(314, 71%, 33%) |
| HSV | hsv(314, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 18.9%, 43.9%) |
| CIE-LAB | lab(33.47, 55.81, -22.90) |
| CIE-LCH | lch(33.47, 60.33, 337.69°) |
| OKLab | oklab(45.02% 0.1666 -0.062) |
| OKLCH | oklch(45.02% 0.178 339.6) |
| XYZ | xyz(14.8071, 7.7554, 17.2367) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.80
Warm Purple
#952E8F
ΔE00 5.70
Darkish Purple
#751973
ΔE00 5.73
Darkmagenta
#8B008B
ΔE00 5.80
Purple
#800080
ΔE00 5.95
Barney Purple
#A00498
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1874 #188F33
analogous
#6E188F #8F1874 #8F1839
triadic
#8F1874 #748F18 #18748F
tetradic
#8F1874 #8F6E18 #188F33 #18398F
square
#8F1874 #8F6E18 #188F33 #18398F
split-complementary
#8F1874 #398F18 #188F6E
monochromatic
#26061F #5B0F49 #8F1874 #C3219F #DF42BC
Accessibility & contrast
On white
8.23
#8F1874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8F1874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1874
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1874 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#981E46
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1874; /* rgb */ color: rgb(143, 24, 116); /* oklch */ color: oklch(45.0% 0.178 339.6);
Tailwind
colors: {
custom: {
50: '#b4659c',
500: '#8f1874',
950: '#000000',
},
}SCSS
$custom: #8f1874; $custom-light: #b4659c; $custom-dark: #000000;
JSON
{
"hex": "#8f1874",
"rgb": {
"r": 143,
"g": 24,
"b": 116
},
"hsl": {
"h": 313.613,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.45015,
"c": 0.17778,
"h": 339.6
},
"luminance": 0.07754
}Semantic roles & 50–950 ramp
primary
#8F1874
secondary
#43C05F
accent
#EE633A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E