#873173#873173

#873173 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.142 H 337.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#873173
RGBrgb(135, 49, 115)
HSLhsl(314, 47%, 36%)
HSVhsv(314, 64%, 53%)
CMYKcmyk(0%, 63.7%, 14.8%, 47.1%)
CIE-LABlab(35.18, 44.63, -19.73)
CIE-LCHlch(35.18, 48.80, 336.15°)
OKLaboklab(45.97% 0.1313 -0.0533)
OKLCHoklch(45.97% 0.142 337.9)
XYZxyz(14.1847, 8.5865, 17.1266)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873173 #318745
analogous
#703187 #873173 #873148
triadic
#873173 #738731 #317387
tetradic
#873173 #877031 #318745 #314887
square
#873173 #877031 #318745 #314887
split-complementary
#873173 #488731 #318770
monochromatic
#2D1026 #5A214D #873173 #B44199 #C96AB3

Accessibility & contrast

On white

7.73
#873173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#873173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873173
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873173#FFFFFF#000000##FFFFFF
##8731731.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#4E5871
Tritanopia (blue-blind)
#8E344D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873173;
/* rgb */ color: rgb(135, 49, 115);
/* oklch */ color: oklch(46.0% 0.142 337.9);
Tailwind
colors: {
  custom: {
    50: '#ad6f9b',
    500: '#873173',
    950: '#000000',
  },
}
SCSS
$custom: #873173;
$custom-light: #ad6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#873173",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 313.953,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.14174,
    "h": 337.9
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#873173
secondary
#64B075
accent
#D67051
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #873173

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

Preview Lab → · Contrast checker → · Palette generator →

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