#971F71#971F71

#971F71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.174 H 344.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#971F71
RGBrgb(151, 31, 113)
HSLhsl(319, 66%, 36%)
HSVhsv(319, 79%, 59%)
CMYKcmyk(0%, 79.5%, 25.2%, 40.8%)
CIE-LABlab(35.50, 55.41, -17.73)
CIE-LCHlch(35.50, 58.18, 342.26°)
OKLaboklab(46.72% 0.1677 -0.0473)
OKLCHoklch(46.72% 0.174 344.2)
XYZxyz(16.2338, 8.7533, 16.4542)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F71 #1F9745
analogous
#811F97 #971F71 #971F35
triadic
#971F71 #71971F #1F7197
tetradic
#971F71 #97811F #1F9745 #1F3597
square
#971F71 #97811F #1F9745 #1F3597
split-complementary
#971F71 #35971F #1F9781
monochromatic
#310A25 #64154B #971F71 #CA2997 #DC54B1

Accessibility & contrast

On white

7.64
#971F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#971F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F71
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F71#FFFFFF#000000##FFFFFF
##971F711.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#A11E46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f71;
/* rgb */ color: rgb(151, 31, 113);
/* oklch */ color: oklch(46.7% 0.174 344.2);
Tailwind
colors: {
  custom: {
    50: '#ba699a',
    500: '#971f71',
    950: '#000000',
  },
}
SCSS
$custom: #971f71;
$custom-light: #ba699a;
$custom-dark: #000000;
JSON
{
  "hex": "#971f71",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 319,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.17429,
    "h": 344.2
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#971F71
secondary
#52BF75
accent
#E9753F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F71

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

Preview Lab → · Contrast checker → · Palette generator →

#971F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva