#8F1752#8F1752
#8F1752 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 357.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1752 |
|---|---|
| RGB | rgb(143, 23, 82) |
| HSL | hsl(331, 72%, 33%) |
| HSV | hsv(331, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 42.7%, 43.9%) |
| CIE-LAB | lab(31.95, 51.97, -3.31) |
| CIE-LCH | lch(31.95, 52.08, 356.36°) |
| OKLab | oklab(43.45% 0.16 -0.008) |
| OKLCH | oklch(43.45% 0.16 357.1) |
| XYZ | xyz(13.1581, 7.0634, 8.6515) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.03
Mulberry
#920A4E
ΔE00 1.40
Dark Magenta
#960056
ΔE00 1.96
Dark Fuchsia
#9D0759
ΔE00 2.66
Red Purple
#820747
ΔE00 3.30
Deep Magenta
#A0025C
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1752 #178F54
analogous
#8F178E #8F1752 #8F1817
triadic
#8F1752 #528F17 #17528F
tetradic
#8F1752 #8E8F17 #178F54 #18178F
square
#8F1752 #8E8F17 #178F54 #18178F
split-complementary
#8F1752 #178F18 #178E8F
monochromatic
#260616 #5A0F34 #8F1752 #C41F70 #E0408F
Accessibility & contrast
On white
8.71
#8F1752 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8F1752 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1752
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1752 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9B0033
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8f1752; /* rgb */ color: rgb(143, 23, 82); /* oklch */ color: oklch(43.5% 0.160 357.1);
Tailwind
colors: {
custom: {
50: '#b56482',
500: '#8f1752',
950: '#000000',
},
}SCSS
$custom: #8f1752; $custom-light: #b56482; $custom-dark: #000000;
JSON
{
"hex": "#8f1752",
"rgb": {
"r": 143,
"g": 23,
"b": 82
},
"hsl": {
"h": 330.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.4345,
"c": 0.16022,
"h": 357.1
},
"luminance": 0.07062
}Semantic roles & 50–950 ramp
primary
#8F1752
secondary
#41C182
accent
#EF9539
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C