#8F1279#8F1279
#8F1279 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.186 H 337.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1279 |
|---|---|
| RGB | rgb(143, 18, 121) |
| HSL | hsl(311, 78%, 32%) |
| HSV | hsv(311, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 15.4%, 43.9%) |
| CIE-LAB | lab(33.25, 57.88, -26.40) |
| CIE-LCH | lch(33.25, 63.62, 335.48°) |
| OKLab | oklab(44.94% 0.1712 -0.072) |
| OKLCH | oklch(44.94% 0.186 337.2) |
| XYZ | xyz(14.9955, 7.6542, 18.7731) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.46
Purple
#800080
ΔE00 4.78
Darkish Purple
#751973
ΔE00 5.10
Warm Purple
#952E8F
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1279 #128F28
analogous
#67128F #8F1279 #8F123B
triadic
#8F1279 #798F12 #12798F
tetradic
#8F1279 #8F6712 #128F28 #123B8F
square
#8F1279 #8F6712 #128F28 #123B8F
split-complementary
#8F1279 #3B8F12 #128F67
monochromatic
#22041D #590B4B #8F1279 #C519A7 #E636C7
Accessibility & contrast
On white
8.30
#8F1279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8F1279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1279
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1279 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971D47
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1279; /* rgb */ color: rgb(143, 18, 121); /* oklch */ color: oklch(44.9% 0.186 337.2);
Tailwind
colors: {
custom: {
50: '#b464a0',
500: '#8f1279',
950: '#000000',
},
}SCSS
$custom: #8f1279; $custom-light: #b464a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1279",
"rgb": {
"r": 143,
"g": 18,
"b": 121
},
"hsl": {
"h": 310.56,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.44943,
"c": 0.18568,
"h": 337.2
},
"luminance": 0.07653
}Semantic roles & 50–950 ramp
primary
#8F1279
secondary
#3AC352
accent
#F45634
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E