#8F1479#8F1479
#8F1479 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.184 H 337.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1479 |
|---|---|
| RGB | rgb(143, 20, 121) |
| HSL | hsl(311, 75%, 32%) |
| HSV | hsv(311, 86%, 56%) |
| CMYK | cmyk(0%, 86%, 15.4%, 43.9%) |
| CIE-LAB | lab(33.40, 57.46, -26.17) |
| CIE-LCH | lch(33.40, 63.14, 335.51°) |
| OKLab | oklab(45.05% 0.1699 -0.0713) |
| OKLCH | oklch(45.05% 0.184 337.2) |
| XYZ | xyz(15.0294, 7.7219, 18.7844) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.55
Purple
#800080
ΔE00 4.89
Warm Purple
#952E8F
ΔE00 5.08
Darkish Purple
#751973
ΔE00 5.15
Barney Purple
#A00498
ΔE00 5.60
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1479 #148F2A
analogous
#68148F #8F1479 #8F143B
triadic
#8F1479 #798F14 #14798F
tetradic
#8F1479 #8F6814 #148F2A #143B8F
square
#8F1479 #8F6814 #148F2A #143B8F
split-complementary
#8F1479 #3B8F14 #148F68
monochromatic
#24051E #590C4C #8F1479 #C51CA6 #E33AC5
Accessibility & contrast
On white
8.25
#8F1479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8F1479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1479
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1479 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971E48
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1479; /* rgb */ color: rgb(143, 20, 121); /* oklch */ color: oklch(45.0% 0.184 337.2);
Tailwind
colors: {
custom: {
50: '#b464a0',
500: '#8f1479',
950: '#000000',
},
}SCSS
$custom: #8f1479; $custom-light: #b464a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1479",
"rgb": {
"r": 143,
"g": 20,
"b": 121
},
"hsl": {
"h": 310.732,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.45046,
"c": 0.18427,
"h": 337.2
},
"luminance": 0.0772
}Semantic roles & 50–950 ramp
primary
#8F1479
secondary
#3CC354
accent
#F25736
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E