#8F1257#8F1257
#8F1257 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 353.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1257 |
|---|---|
| RGB | rgb(143, 18, 87) |
| HSL | hsl(327, 78%, 32%) |
| HSV | hsv(327, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 39.2%, 43.9%) |
| CIE-LAB | lab(31.72, 53.66, -6.93) |
| CIE-LCH | lch(31.72, 54.11, 352.65°) |
| OKLab | oklab(43.34% 0.1653 -0.0176) |
| OKLCH | oklch(43.34% 0.166 353.9) |
| XYZ | xyz(13.2652, 6.9621, 9.6603) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 1.53
Reddish Purple
#910951
ΔE00 1.73
Mulberry
#920A4E
ΔE00 2.73
Dark Fuchsia
#9D0759
ΔE00 2.74
Deep Magenta
#A0025C
ΔE00 3.13
Red Purple
#820747
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1257 #128F4A
analogous
#89128F #8F1257 #8F1219
triadic
#8F1257 #578F12 #12578F
tetradic
#8F1257 #8F8912 #128F4A #12198F
square
#8F1257 #8F8912 #128F4A #12198F
split-complementary
#8F1257 #198F12 #128F89
monochromatic
#220415 #590B36 #8F1257 #C51978 #E63697
Accessibility & contrast
On white
8.78
#8F1257 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8F1257 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1257
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1257 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3C59
Deuteranopia (green-blind)
#525354
Tritanopia (blue-blind)
#9B0034
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8f1257; /* rgb */ color: rgb(143, 18, 87); /* oklch */ color: oklch(43.3% 0.166 353.9);
Tailwind
colors: {
custom: {
50: '#b56286',
500: '#8f1257',
950: '#000000',
},
}SCSS
$custom: #8f1257; $custom-light: #b56286; $custom-dark: #000000;
JSON
{
"hex": "#8f1257",
"rgb": {
"r": 143,
"g": 18,
"b": 87
},
"hsl": {
"h": 326.88,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.43341,
"c": 0.16624,
"h": 353.9
},
"luminance": 0.0696
}Semantic roles & 50–950 ramp
primary
#8F1257
secondary
#3AC377
accent
#F48A34
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C