#973871#973871

#973871 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.2% C 0.142 H 346.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#973871
RGBrgb(151, 56, 113)
HSLhsl(324, 46%, 41%)
HSVhsv(324, 63%, 59%)
CMYKcmyk(0%, 62.9%, 25.2%, 40.8%)
CIE-LABlab(38.90, 45.94, -12.53)
CIE-LCHlch(38.90, 47.62, 344.74°)
OKLaboklab(49.2% 0.1386 -0.0331)
OKLCHoklch(49.2% 0.142 346.6)
XYZxyz(17.1579, 10.6016, 16.7623)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973871 #38975E
analogous
#8D3897 #973871 #973841
triadic
#973871 #719738 #387197
tetradic
#973871 #978D38 #38975E #384197
square
#973871 #978D38 #38975E #384197
split-complementary
#973871 #419738 #38978D
monochromatic
#3E172E #6A2750 #973871 #BE4F91 #CE7BAD

Accessibility & contrast

On white

6.73
#973871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#973871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973871
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973871#FFFFFF#000000##FFFFFF
##9738711.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#A1364F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #973871;
/* rgb */ color: rgb(151, 56, 113);
/* oklch */ color: oklch(49.2% 0.142 346.6);
Tailwind
colors: {
  custom: {
    50: '#b97499',
    500: '#973871',
    950: '#000000',
  },
}
SCSS
$custom: #973871;
$custom-light: #b97499;
$custom-dark: #000000;
JSON
{
  "hex": "#973871",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 324,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.14248,
    "h": 346.6
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#973871
secondary
#73B78F
accent
#D68752
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #973871

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

Preview Lab → · Contrast checker → · Palette generator →

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