#873162#873162

#873162 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.130 H 348.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#873162
RGBrgb(135, 49, 98)
HSLhsl(326, 47%, 36%)
HSVhsv(326, 64%, 53%)
CMYKcmyk(0%, 63.7%, 27.4%, 47.1%)
CIE-LABlab(34.46, 42.06, -10.05)
CIE-LCHlch(34.46, 43.24, 346.56°)
OKLaboklab(45.21% 0.1273 -0.0264)
OKLCHoklch(45.21% 0.13 348.3)
XYZxyz(13.2951, 8.2307, 12.4414)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873162 #318756
analogous
#813187 #873162 #873137
triadic
#873162 #628731 #316287
tetradic
#873162 #878131 #318756 #313787
square
#873162 #878131 #318756 #313787
split-complementary
#873162 #378731 #318781
monochromatic
#2D1021 #5A2141 #873162 #B44183 #C96AA0

Accessibility & contrast

On white

7.94
#873162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#873162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873162
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873162#FFFFFF#000000##FFFFFF
##8731621.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4863
Deuteranopia (green-blind)
#545760
Tritanopia (blue-blind)
#902E45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #873162;
/* rgb */ color: rgb(135, 49, 98);
/* oklch */ color: oklch(45.2% 0.130 348.3);
Tailwind
colors: {
  custom: {
    50: '#ad6e8e',
    500: '#873162',
    950: '#000000',
  },
}
SCSS
$custom: #873162;
$custom-light: #ad6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#873162",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 325.814,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.12999,
    "h": 348.3
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#873162
secondary
#64B085
accent
#D68B51
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #873162

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

Preview Lab → · Contrast checker → · Palette generator →

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