#8F2276#8F2276
#8F2276 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.169 H 339.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2276 |
|---|---|
| RGB | rgb(143, 34, 118) |
| HSL | hsl(314, 62%, 35%) |
| HSV | hsv(314, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 17.5%, 43.9%) |
| CIE-LAB | lab(34.59, 53.17, -22.42) |
| CIE-LCH | lch(34.59, 57.71, 337.14°) |
| OKLab | oklab(45.85% 0.158 -0.0607) |
| OKLCH | oklch(45.85% 0.169 339) |
| XYZ | xyz(15.1701, 8.2932, 17.9378) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.02
Red Violet
#9E0168
ΔE00 5.07
Darkish Purple
#751973
ΔE00 6.13
Darkmagenta
#8B008B
ΔE00 6.18
Barney Purple
#A00498
ΔE00 6.52
Purple
#800080
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2276 #228F3B
analogous
#71228F #8F2276 #8F2240
triadic
#8F2276 #768F22 #22768F
tetradic
#8F2276 #8F7122 #228F3B #22408F
square
#8F2276 #8F7122 #228F3B #22408F
split-complementary
#8F2276 #408F22 #228F71
monochromatic
#2C0A24 #5E164D #8F2276 #C02E9F #D755B9
Accessibility & contrast
On white
7.90
#8F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2276
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2276 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#4D5773
Tritanopia (blue-blind)
#972749
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2276; /* rgb */ color: rgb(143, 34, 118); /* oklch */ color: oklch(45.9% 0.169 339.0);
Tailwind
colors: {
custom: {
50: '#b3699d',
500: '#8f2276',
950: '#000000',
},
}SCSS
$custom: #8f2276; $custom-light: #b3699d; $custom-dark: #000000;
JSON
{
"hex": "#8f2276",
"rgb": {
"r": 143,
"g": 34,
"b": 118
},
"hsl": {
"h": 313.761,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45852,
"c": 0.16927,
"h": 339
},
"luminance": 0.08292
}Semantic roles & 50–950 ramp
primary
#8F2276
secondary
#52BA6A
accent
#E56843
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E