#8F1572#8F1572
#8F1572 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.179 H 340.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1572 |
|---|---|
| RGB | rgb(143, 21, 114) |
| HSL | hsl(314, 74%, 32%) |
| HSV | hsv(314, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.12, 56.26, -22.18) |
| CIE-LCH | lch(33.12, 60.48, 338.49°) |
| OKLab | oklab(44.73% 0.1686 -0.0599) |
| OKLCH | oklch(44.73% 0.179 340.4) |
| XYZ | xyz(14.6336, 7.5924, 16.6112) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.50
Darkish Purple
#751973
ΔE00 5.84
Darkmagenta
#8B008B
ΔE00 6.07
Purple
#800080
ΔE00 6.11
Warm Purple
#952E8F
ΔE00 6.16
Rich Purple
#720058
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1572 #158F32
analogous
#6F158F #8F1572 #8F1535
triadic
#8F1572 #728F15 #15728F
tetradic
#8F1572 #8F6F15 #158F32 #15358F
square
#8F1572 #8F6F15 #158F32 #15358F
split-complementary
#8F1572 #358F15 #158F6F
monochromatic
#24051D #5A0D47 #8F1572 #C41D9D #E23CBB
Accessibility & contrast
On white
8.34
#8F1572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8F1572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1572
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1572 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#4A556F
Tritanopia (blue-blind)
#981A44
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1572; /* rgb */ color: rgb(143, 21, 114); /* oklch */ color: oklch(44.7% 0.179 340.4);
Tailwind
colors: {
custom: {
50: '#b4649b',
500: '#8f1572',
950: '#000000',
},
}SCSS
$custom: #8f1572; $custom-light: #b4649b; $custom-dark: #000000;
JSON
{
"hex": "#8f1572",
"rgb": {
"r": 143,
"g": 21,
"b": 114
},
"hsl": {
"h": 314.262,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.44732,
"c": 0.17893,
"h": 340.4
},
"luminance": 0.07591
}Semantic roles & 50–950 ramp
primary
#8F1572
secondary
#3EC25D
accent
#F16337
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E