#8F2277#8F2277
#8F2277 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.170 H 338.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2277 |
|---|---|
| RGB | rgb(143, 34, 119) |
| HSL | hsl(313, 62%, 35%) |
| HSV | hsv(313, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 16.8%, 43.9%) |
| CIE-LAB | lab(34.63, 53.32, -22.98) |
| CIE-LCH | lch(34.63, 58.06, 336.69°) |
| OKLab | oklab(45.9% 0.1581 -0.0623) |
| OKLCH | oklch(45.9% 0.17 338.5) |
| XYZ | xyz(15.2299, 8.3171, 18.2525) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.82
Red Violet
#9E0168
ΔE00 5.24
Darkmagenta
#8B008B
ΔE00 5.98
Darkish Purple
#751973
ΔE00 6.03
Barney Purple
#A00498
ΔE00 6.32
Purple
#800080
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2277 #228F3A
analogous
#71228F #8F2277 #8F2241
triadic
#8F2277 #778F22 #22778F
tetradic
#8F2277 #8F7122 #228F3A #22418F
square
#8F2277 #8F7122 #228F3A #22418F
split-complementary
#8F2277 #418F22 #228F71
monochromatic
#2C0A25 #5E164E #8F2277 #C02EA0 #D755BA
Accessibility & contrast
On white
7.89
#8F2277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F2277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2277
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2277 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#97274A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2277; /* rgb */ color: rgb(143, 34, 119); /* oklch */ color: oklch(45.9% 0.170 338.5);
Tailwind
colors: {
custom: {
50: '#b3699e',
500: '#8f2277',
950: '#000000',
},
}SCSS
$custom: #8f2277; $custom-light: #b3699e; $custom-dark: #000000;
JSON
{
"hex": "#8f2277",
"rgb": {
"r": 143,
"g": 34,
"b": 119
},
"hsl": {
"h": 313.211,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.45903,
"c": 0.16996,
"h": 338.5
},
"luminance": 0.08316
}Semantic roles & 50–950 ramp
primary
#8F2277
secondary
#52BA69
accent
#E56743
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E