#873D78#873D78

#873D78 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.126 H 335.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#873D78
RGBrgb(135, 61, 120)
HSLhsl(312, 38%, 38%)
HSVhsv(312, 55%, 53%)
CMYKcmyk(0%, 54.8%, 11.1%, 47.1%)
CIE-LABlab(37.56, 39.63, -19.16)
CIE-LCHlch(37.56, 44.02, 334.19°)
OKLaboklab(47.8% 0.1151 -0.0519)
OKLCHoklch(47.8% 0.126 335.7)
XYZxyz(15.0507, 9.8455, 18.8733)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873D78 #3D874C
analogous
#713D87 #873D78 #873D53
triadic
#873D78 #78873D #3D7887
tetradic
#873D78 #87713D #3D874C #3D5387
square
#873D78 #87713D #3D874C #3D5387
split-complementary
#873D78 #53873D #3D8771
monochromatic
#33172D #5D2A53 #873D78 #B0519D #C37BB5

Accessibility & contrast

On white

7.07
#873D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#873D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873D78
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873D78#FFFFFF#000000##FFFFFF
##873D781.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E517A
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#8D4155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873d78;
/* rgb */ color: rgb(135, 61, 120);
/* oklch */ color: oklch(47.8% 0.126 335.7);
Tailwind
colors: {
  custom: {
    50: '#ac769f',
    500: '#873d78',
    950: '#000000',
  },
}
SCSS
$custom: #873d78;
$custom-light: #ac769f;
$custom-dark: #000000;
JSON
{
  "hex": "#873d78",
  "rgb": {
    "r": 135,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 312.162,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47801,
    "c": 0.12624,
    "h": 335.7
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#873D78
secondary
#73AD7E
accent
#CE725A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #873D78

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

Preview Lab → · Contrast checker → · Palette generator →

#873D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva