#8B2773#8B2773
#8B2773 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 339.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2773 |
|---|---|
| RGB | rgb(139, 39, 115) |
| HSL | hsl(314, 56%, 35%) |
| HSV | hsv(314, 72%, 55%) |
| CMYK | cmyk(0%, 71.9%, 17.3%, 45.5%) |
| CIE-LAB | lab(34.35, 49.93, -20.95) |
| CIE-LCH | lch(34.35, 54.14, 337.24°) |
| OKLab | oklab(45.5% 0.1481 -0.0566) |
| OKLCH | oklch(45.5% 0.159 339.1) |
| XYZ | xyz(14.4678, 8.1792, 17.0331) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.33
Warm Purple
#952E8F
ΔE00 5.50
Bruise
#7E4071
ΔE00 5.83
Darkish Purple
#751973
ΔE00 6.07
Light Eggplant
#894585
ΔE00 6.68
Darkmagenta
#8B008B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2773 #278B3F
analogous
#71278B #8B2773 #8B2741
triadic
#8B2773 #738B27 #27738B
tetradic
#8B2773 #8B7127 #278B3F #27418B
square
#8B2773 #8B7127 #278B3F #27418B
split-complementary
#8B2773 #418B27 #278B71
monochromatic
#2B0C24 #5B1A4B #8B2773 #BB349B #D15BB5
Accessibility & contrast
On white
7.97
#8B2773 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8B2773 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2773
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2773 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2773 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4775
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#932B49
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2773; /* rgb */ color: rgb(139, 39, 115); /* oklch */ color: oklch(45.5% 0.159 339.1);
Tailwind
colors: {
custom: {
50: '#b06a9b',
500: '#8b2773',
950: '#000000',
},
}SCSS
$custom: #8b2773; $custom-light: #b06a9b; $custom-dark: #000000;
JSON
{
"hex": "#8b2773",
"rgb": {
"r": 139,
"g": 39,
"b": 115
},
"hsl": {
"h": 314.4,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.45501,
"c": 0.1586,
"h": 339.1
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#8B2773
secondary
#58B66E
accent
#DF6D48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E