#873170#873170

#873170 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.139 H 339.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#873170
RGBrgb(135, 49, 112)
HSLhsl(316, 47%, 36%)
HSVhsv(316, 64%, 53%)
CMYKcmyk(0%, 63.7%, 17%, 47.1%)
CIE-LABlab(35.04, 44.15, -18.05)
CIE-LCHlch(35.04, 47.70, 337.77°)
OKLaboklab(45.83% 0.1307 -0.0486)
OKLCHoklch(45.83% 0.139 339.6)
XYZxyz(14.0149, 8.5186, 16.2322)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873170 #318748
analogous
#733187 #873170 #873145
triadic
#873170 #708731 #317087
tetradic
#873170 #877331 #318748 #314587
square
#873170 #877331 #318748 #314587
split-complementary
#873170 #458731 #318773
monochromatic
#2D1025 #5A214B #873170 #B44195 #C96AAF

Accessibility & contrast

On white

7.77
#873170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#873170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873170
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873170#FFFFFF#000000##FFFFFF
##8731701.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A72
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#8F334C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #873170;
/* rgb */ color: rgb(135, 49, 112);
/* oklch */ color: oklch(45.8% 0.139 339.6);
Tailwind
colors: {
  custom: {
    50: '#ad6f99',
    500: '#873170',
    950: '#000000',
  },
}
SCSS
$custom: #873170;
$custom-light: #ad6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#873170",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 316.047,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.13947,
    "h": 339.6
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#873170
secondary
#64B078
accent
#D67551
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #873170

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

Preview Lab → · Contrast checker → · Palette generator →

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