#8F186F#8F186F
#8F186F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.175 H 342.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8F186F |
|---|---|
| RGB | rgb(143, 24, 111) |
| HSL | hsl(316, 71%, 33%) |
| HSV | hsv(316, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 22.4%, 43.9%) |
| CIE-LAB | lab(33.23, 55.13, -20.11) |
| CIE-LCH | lch(33.23, 58.68, 339.96°) |
| OKLab | oklab(44.76% 0.166 -0.0541) |
| OKLCH | oklch(44.76% 0.175 342) |
| XYZ | xyz(14.5241, 7.6422, 15.7460) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.92
Darkish Purple
#751973
ΔE00 6.36
Warm Purple
#952E8F
ΔE00 6.63
Dark Magenta
#960056
ΔE00 6.64
Rich Purple
#720058
ΔE00 6.74
Velvet
#750851
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F186F #188F38
analogous
#73188F #8F186F #8F1834
triadic
#8F186F #6F8F18 #186F8F
tetradic
#8F186F #8F7318 #188F38 #18348F
square
#8F186F #8F7318 #188F38 #18348F
split-complementary
#8F186F #348F18 #188F73
monochromatic
#26061E #5B0F46 #8F186F #C32198 #DF42B5
Accessibility & contrast
On white
8.31
#8F186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8F186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F186F
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F186F | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#981A43
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f186f; /* rgb */ color: rgb(143, 24, 111); /* oklch */ color: oklch(44.8% 0.175 342.0);
Tailwind
colors: {
custom: {
50: '#b46598',
500: '#8f186f',
950: '#000000',
},
}SCSS
$custom: #8f186f; $custom-light: #b46598; $custom-dark: #000000;
JSON
{
"hex": "#8f186f",
"rgb": {
"r": 143,
"g": 24,
"b": 111
},
"hsl": {
"h": 316.134,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.44762,
"c": 0.17457,
"h": 342
},
"luminance": 0.07641
}Semantic roles & 50–950 ramp
primary
#8F186F
secondary
#43C064
accent
#EE6A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E