#8D2773#8D2773

#8D2773 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 339.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2773
RGBrgb(141, 39, 115)
HSLhsl(315, 57%, 35%)
HSVhsv(315, 72%, 55%)
CMYKcmyk(0%, 72.3%, 18.4%, 44.7%)
CIE-LABlab(34.71, 50.46, -20.37)
CIE-LCHlch(34.71, 54.41, 338.02°)
OKLaboklab(45.83% 0.1502 -0.055)
OKLCHoklch(45.83% 0.16 339.9)
XYZxyz(14.8049, 8.3530, 17.0489)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2773 #278D41
analogous
#74278D #8D2773 #8D2740
triadic
#8D2773 #738D27 #27738D
tetradic
#8D2773 #8D7427 #278D41 #27408D
square
#8D2773 #8D7427 #278D41 #27408D
split-complementary
#8D2773 #408D27 #278D74
monochromatic
#2D0C25 #5D1A4C #8D2773 #BD349A #D25CB4

Accessibility & contrast

On white

7.86
#8D2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2773
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2773#FFFFFF#000000##FFFFFF
##8D27731.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4775
Deuteranopia (green-blind)
#4E5771
Tritanopia (blue-blind)
#952A49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2773;
/* rgb */ color: rgb(141, 39, 115);
/* oklch */ color: oklch(45.8% 0.160 339.9);
Tailwind
colors: {
  custom: {
    50: '#b26b9b',
    500: '#8d2773',
    950: '#000000',
  },
}
SCSS
$custom: #8d2773;
$custom-light: #b26b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2773",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 315.294,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.15995,
    "h": 339.9
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#8D2773
secondary
#59B771
accent
#E06F48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2773

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

Preview Lab → · Contrast checker → · Palette generator →

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