#8F247A#8F247A
#8F247A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.170 H 337.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F247A |
|---|---|
| RGB | rgb(143, 36, 122) |
| HSL | hsl(312, 60%, 35%) |
| HSV | hsv(312, 75%, 56%) |
| CMYK | cmyk(0%, 74.8%, 14.7%, 43.9%) |
| CIE-LAB | lab(35.02, 53.09, -24.26) |
| CIE-LCH | lch(35.02, 58.37, 335.44°) |
| OKLab | oklab(46.23% 0.1565 -0.066) |
| OKLCH | oklch(46.23% 0.17 337.1) |
| XYZ | xyz(15.4717, 8.5080, 19.2359) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Darkmagenta
#8B008B
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.80
Barney Purple
#A00498
ΔE00 5.85
Darkish Purple
#751973
ΔE00 5.96
Purple
#800080
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F247A #248F39
analogous
#6F248F #8F247A #8F2444
triadic
#8F247A #7A8F24 #247A8F
tetradic
#8F247A #8F6F24 #248F39 #24448F
square
#8F247A #8F6F24 #248F39 #24448F
split-complementary
#8F247A #448F24 #248F6F
monochromatic
#2D0B27 #5E1850 #8F247A #C030A4 #D558BD
Accessibility & contrast
On white
7.77
#8F247A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8F247A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F247A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F247A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F247A | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#972A4C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f247a; /* rgb */ color: rgb(143, 36, 122); /* oklch */ color: oklch(46.2% 0.170 337.1);
Tailwind
colors: {
custom: {
50: '#b36aa0',
500: '#8f247a',
950: '#000000',
},
}SCSS
$custom: #8f247a; $custom-light: #b36aa0; $custom-dark: #000000;
JSON
{
"hex": "#8f247a",
"rgb": {
"r": 143,
"g": 36,
"b": 122
},
"hsl": {
"h": 311.776,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.46229,
"c": 0.1698,
"h": 337.1
},
"luminance": 0.08507
}Semantic roles & 50–950 ramp
primary
#8F247A
secondary
#55B969
accent
#E36445
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E