#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
RGBrgb(139, 39, 115)
HSLhsl(314, 56%, 35%)
HSVhsv(314, 72%, 55%)
CMYKcmyk(0%, 71.9%, 17.3%, 45.5%)
CIE-LABlab(34.35, 49.93, -20.95)
CIE-LCHlch(34.35, 54.14, 337.24°)
OKLaboklab(45.5% 0.1481 -0.0566)
OKLCHoklch(45.5% 0.159 339.1)
XYZxyz(14.4678, 8.1792, 17.0331)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##8B27731.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.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

Preview Lab

Preview with #8B2773

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8B2773 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva