#873271#873271

#873271 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.139 H 339.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#873271
RGBrgb(135, 50, 113)
HSLhsl(316, 46%, 36%)
HSVhsv(316, 63%, 53%)
CMYKcmyk(0%, 63%, 16.3%, 47.1%)
CIE-LABlab(35.25, 43.85, -18.35)
CIE-LCHlch(35.25, 47.53, 337.29°)
OKLaboklab(46% 0.1296 -0.0495)
OKLCHoklch(46% 0.139 339.1)
XYZxyz(14.1132, 8.6256, 16.5412)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873271 #328748
analogous
#733287 #873271 #873247
triadic
#873271 #718732 #327187
tetradic
#873271 #877332 #328748 #324787
square
#873271 #877332 #328748 #324787
split-complementary
#873271 #478732 #328773
monochromatic
#2E1126 #5A214C #873271 #B44396 #C86BB0

Accessibility & contrast

On white

7.71
#873271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#873271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873271
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873271#FFFFFF#000000##FFFFFF
##8732711.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#8E354D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873271;
/* rgb */ color: rgb(135, 50, 113);
/* oklch */ color: oklch(46.0% 0.139 339.1);
Tailwind
colors: {
  custom: {
    50: '#ad6f9a',
    500: '#873271',
    950: '#000000',
  },
}
SCSS
$custom: #873271;
$custom-light: #ad6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#873271",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 315.529,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.13867,
    "h": 339.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#873271
secondary
#65B078
accent
#D67452
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #873271

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

Preview Lab → · Contrast checker → · Palette generator →

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