#873178#873178

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

Color values

HEX#873178
RGBrgb(135, 49, 120)
HSLhsl(310, 47%, 36%)
HSVhsv(310, 64%, 53%)
CMYKcmyk(0%, 63.7%, 11.1%, 47.1%)
CIE-LABlab(35.41, 45.45, -22.50)
CIE-LCHlch(35.41, 50.72, 333.66°)
OKLaboklab(46.22% 0.1322 -0.0612)
OKLCHoklch(46.22% 0.146 335.1)
XYZxyz(14.4803, 8.7047, 18.6832)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873178 #318740
analogous
#6B3187 #873178 #87314D
triadic
#873178 #788731 #317887
tetradic
#873178 #876B31 #318740 #314D87
square
#873178 #876B31 #318740 #314D87
split-complementary
#873178 #4D8731 #31876B
monochromatic
#2D1028 #5A2150 #873178 #B441A0 #C96AB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##873178#FFFFFF#000000##FFFFFF
##8731781.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)
#314B7A
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#8D3650
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873178;
/* rgb */ color: rgb(135, 49, 120);
/* oklch */ color: oklch(46.2% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#ad6f9f',
    500: '#873178',
    950: '#000000',
  },
}
SCSS
$custom: #873178;
$custom-light: #ad6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#873178",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 310.465,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.14567,
    "h": 335.1
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#873178
secondary
#64B071
accent
#D66951
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #873178

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

Preview Lab → · Contrast checker → · Palette generator →

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