#873274#873274

#873274 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.141 H 337.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#873274
RGBrgb(135, 50, 116)
HSLhsl(313, 46%, 36%)
HSVhsv(313, 63%, 53%)
CMYKcmyk(0%, 63%, 14.1%, 47.1%)
CIE-LABlab(35.39, 44.33, -20.03)
CIE-LCHlch(35.39, 48.65, 335.69°)
OKLaboklab(46.14% 0.1301 -0.0542)
OKLCHoklch(46.14% 0.141 337.4)
XYZxyz(14.2849, 8.6942, 17.4454)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873274 #328745
analogous
#703287 #873274 #87324A
triadic
#873274 #748732 #327487
tetradic
#873274 #877032 #328745 #324A87
square
#873274 #877032 #328745 #324A87
split-complementary
#873274 #4A8732 #328770
monochromatic
#2E1127 #5A214E #873274 #B4439A #C86BB3

Accessibility & contrast

On white

7.67
#873274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #873274
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873274#FFFFFF#000000##FFFFFF
##8732741.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#4E5872
Tritanopia (blue-blind)
#8E364E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873274;
/* rgb */ color: rgb(135, 50, 116);
/* oklch */ color: oklch(46.1% 0.141 337.4);
Tailwind
colors: {
  custom: {
    50: '#ad709c',
    500: '#873274',
    950: '#000000',
  },
}
SCSS
$custom: #873274;
$custom-light: #ad709c;
$custom-dark: #000000;
JSON
{
  "hex": "#873274",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 313.412,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4614,
    "c": 0.14098,
    "h": 337.4
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#873274
secondary
#65B076
accent
#D67052
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #873274

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

Preview Lab → · Contrast checker → · Palette generator →

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