#873278#873278

#873278 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.144 H 335.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#873278
RGBrgb(135, 50, 120)
HSLhsl(311, 46%, 36%)
HSVhsv(311, 63%, 53%)
CMYKcmyk(0%, 63%, 11.1%, 47.1%)
CIE-LABlab(35.58, 45.00, -22.24)
CIE-LCHlch(35.58, 50.19, 333.70°)
OKLaboklab(46.34% 0.1308 -0.0605)
OKLCHoklch(46.34% 0.144 335.2)
XYZxyz(14.5226, 8.7893, 18.6973)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873278 #328741
analogous
#6C3287 #873278 #87324E
triadic
#873278 #788732 #327887
tetradic
#873278 #876C32 #328741 #324E87
square
#873278 #876C32 #328741 #324E87
split-complementary
#873278 #4E8732 #32876C
monochromatic
#2E1129 #5A2150 #873278 #B443A0 #C86BB8

Accessibility & contrast

On white

7.62
#873278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#873278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873278
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873278#FFFFFF#000000##FFFFFF
##8732781.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#4D5876
Tritanopia (blue-blind)
#8D3750
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #873278;
/* rgb */ color: rgb(135, 50, 120);
/* oklch */ color: oklch(46.3% 0.144 335.2);
Tailwind
colors: {
  custom: {
    50: '#ad709f',
    500: '#873278',
    950: '#000000',
  },
}
SCSS
$custom: #873278;
$custom-light: #ad709f;
$custom-dark: #000000;
JSON
{
  "hex": "#873278",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 310.588,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.14415,
    "h": 335.2
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#873278
secondary
#65B072
accent
#D66952
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #873278

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

Preview Lab → · Contrast checker → · Palette generator →

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