#873371#873371

#873371 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.137 H 339.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#873371
RGBrgb(135, 51, 113)
HSLhsl(316, 45%, 36%)
HSVhsv(316, 62%, 53%)
CMYKcmyk(0%, 62.2%, 16.3%, 47.1%)
CIE-LABlab(35.42, 43.38, -18.09)
CIE-LCHlch(35.42, 47.00, 337.37°)
OKLaboklab(46.12% 0.1282 -0.0487)
OKLCHoklch(46.12% 0.137 339.2)
XYZxyz(14.1564, 8.7120, 16.5556)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873371 #338749
analogous
#733387 #873371 #873347
triadic
#873371 #718733 #337187
tetradic
#873371 #877333 #338749 #334787
square
#873371 #877333 #338749 #334787
split-complementary
#873371 #478733 #338773
monochromatic
#2E1127 #5B224C #873371 #B34496 #C86DB0

Accessibility & contrast

On white

7.66
#873371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#873371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873371
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873371#FFFFFF#000000##FFFFFF
##8733711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#8E354D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873371;
/* rgb */ color: rgb(135, 51, 113);
/* oklch */ color: oklch(46.1% 0.137 339.2);
Tailwind
colors: {
  custom: {
    50: '#ad709a',
    500: '#873371',
    950: '#000000',
  },
}
SCSS
$custom: #873371;
$custom-light: #ad709a;
$custom-dark: #000000;
JSON
{
  "hex": "#873371",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 315.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.13711,
    "h": 339.2
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#873371
secondary
#66B079
accent
#D57553
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #873371

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

Preview Lab → · Contrast checker → · Palette generator →

#873371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva