#8F1277#8F1277
#8F1277 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 338.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1277 |
|---|---|
| RGB | rgb(143, 18, 119) |
| HSL | hsl(312, 78%, 32%) |
| HSV | hsv(312, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 16.8%, 43.9%) |
| CIE-LAB | lab(33.15, 57.60, -25.30) |
| CIE-LCH | lch(33.15, 62.91, 336.29°) |
| OKLab | oklab(44.84% 0.171 -0.0688) |
| OKLCH | oklch(44.84% 0.184 338.1) |
| XYZ | xyz(14.8742, 7.6057, 18.1339) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.87
Purple
#800080
ΔE00 5.09
Darkish Purple
#751973
ΔE00 5.24
Warm Purple
#952E8F
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.48
Barney Purple
#A00498
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1277 #128F2A
analogous
#69128F #8F1277 #8F1239
triadic
#8F1277 #778F12 #12778F
tetradic
#8F1277 #8F6912 #128F2A #12398F
square
#8F1277 #8F6912 #128F2A #12398F
split-complementary
#8F1277 #398F12 #128F69
monochromatic
#22041D #590B4A #8F1277 #C519A4 #E636C4
Accessibility & contrast
On white
8.33
#8F1277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8F1277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1277
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1277 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4279
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#971C46
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1277; /* rgb */ color: rgb(143, 18, 119); /* oklch */ color: oklch(44.8% 0.184 338.1);
Tailwind
colors: {
custom: {
50: '#b4649e',
500: '#8f1277',
950: '#000000',
},
}SCSS
$custom: #8f1277; $custom-light: #b4649e; $custom-dark: #000000;
JSON
{
"hex": "#8f1277",
"rgb": {
"r": 143,
"g": 18,
"b": 119
},
"hsl": {
"h": 311.52,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.44835,
"c": 0.18436,
"h": 338.1
},
"luminance": 0.07604
}Semantic roles & 50–950 ramp
primary
#8F1277
secondary
#3AC354
accent
#F45934
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E