#971C71#971C71

#971C71 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.177 H 344.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#971C71
RGBrgb(151, 28, 113)
HSLhsl(319, 69%, 35%)
HSVhsv(319, 81%, 59%)
CMYKcmyk(0%, 81.5%, 25.2%, 40.8%)
CIE-LABlab(35.21, 56.26, -18.18)
CIE-LCHlch(35.21, 59.12, 342.09°)
OKLaboklab(46.5% 0.1704 -0.0486)
OKLCHoklch(46.5% 0.177 344.1)
XYZxyz(16.1591, 8.6039, 16.4293)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C71 #1C9742
analogous
#801C97 #971C71 #971C33
triadic
#971C71 #71971C #1C7197
tetradic
#971C71 #97801C #1C9742 #1C3397
square
#971C71 #97801C #1C9742 #1C3397
split-complementary
#971C71 #33971C #1C9780
monochromatic
#300924 #63124A #971C71 #CB2698 #DE4FB2

Accessibility & contrast

On white

7.72
#971C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C71
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C71#FFFFFF#000000##FFFFFF
##971C711.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#A11B45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971c71;
/* rgb */ color: rgb(151, 28, 113);
/* oklch */ color: oklch(46.5% 0.177 344.1);
Tailwind
colors: {
  custom: {
    50: '#ba689a',
    500: '#971c71',
    950: '#000000',
  },
}
SCSS
$custom: #971c71;
$custom-light: #ba689a;
$custom-dark: #000000;
JSON
{
  "hex": "#971c71",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 318.537,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.17715,
    "h": 344.1
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#971C71
secondary
#4EC171
accent
#EC723C
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971C71

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

Preview Lab → · Contrast checker → · Palette generator →

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