#8F1472#8F1472
#8F1472 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 340.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1472 |
|---|---|
| RGB | rgb(143, 20, 114) |
| HSL | hsl(314, 75%, 32%) |
| HSV | hsv(314, 86%, 56%) |
| CMYK | cmyk(0%, 86%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.04, 56.49, -22.30) |
| CIE-LCH | lch(33.04, 60.73, 338.46°) |
| OKLab | oklab(44.68% 0.1693 -0.0603) |
| OKLCH | oklch(44.68% 0.18 340.4) |
| XYZ | xyz(14.6156, 7.5564, 16.6051) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Darkish Purple
#751973
ΔE00 5.80
Darkmagenta
#8B008B
ΔE00 6.02
Purple
#800080
ΔE00 6.05
Warm Purple
#952E8F
ΔE00 6.19
Rich Purple
#720058
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1472 #148F31
analogous
#6E148F #8F1472 #8F1435
triadic
#8F1472 #728F14 #14728F
tetradic
#8F1472 #8F6E14 #148F31 #14358F
square
#8F1472 #8F6E14 #148F31 #14358F
split-complementary
#8F1472 #358F14 #148F6E
monochromatic
#24051C #590C47 #8F1472 #C51C9D #E33ABB
Accessibility & contrast
On white
8.36
#8F1472 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8F1472 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1472
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1472 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#981944
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1472; /* rgb */ color: rgb(143, 20, 114); /* oklch */ color: oklch(44.7% 0.180 340.4);
Tailwind
colors: {
custom: {
50: '#b4649b',
500: '#8f1472',
950: '#000000',
},
}SCSS
$custom: #8f1472; $custom-light: #b4649b; $custom-dark: #000000;
JSON
{
"hex": "#8f1472",
"rgb": {
"r": 143,
"g": 20,
"b": 114
},
"hsl": {
"h": 314.146,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.44676,
"c": 0.17969,
"h": 340.4
},
"luminance": 0.07555
}Semantic roles & 50–950 ramp
primary
#8F1472
secondary
#3CC35C
accent
#F26236
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E