#971A71#971A71

#971A71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.179 H 344.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#971A71
RGBrgb(151, 26, 113)
HSLhsl(318, 71%, 35%)
HSVhsv(318, 83%, 59%)
CMYKcmyk(0%, 82.8%, 25.2%, 40.8%)
CIE-LABlab(35.03, 56.78, -18.46)
CIE-LCHlch(35.03, 59.71, 341.99°)
OKLaboklab(46.37% 0.172 -0.0493)
OKLCHoklch(46.37% 0.179 344)
XYZxyz(16.1132, 8.5121, 16.4140)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A71 #1A9740
analogous
#7F1A97 #971A71 #971A33
triadic
#971A71 #71971A #1A7197
tetradic
#971A71 #977F1A #1A9740 #1A3397
square
#971A71 #977F1A #1A9740 #1A3397
split-complementary
#971A71 #33971A #1A977F
monochromatic
#2F0823 #63114A #971A71 #CB2398 #E04BB3

Accessibility & contrast

On white

7.77
#971A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#971A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A71
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A71#FFFFFF#000000##FFFFFF
##971A711.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#525A6E
Tritanopia (blue-blind)
#A11945
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971a71;
/* rgb */ color: rgb(151, 26, 113);
/* oklch */ color: oklch(46.4% 0.179 344.0);
Tailwind
colors: {
  custom: {
    50: '#ba679a',
    500: '#971a71',
    950: '#000000',
  },
}
SCSS
$custom: #971a71;
$custom-light: #ba679a;
$custom-dark: #000000;
JSON
{
  "hex": "#971a71",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 318.24,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.17892,
    "h": 344
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#971A71
secondary
#4BC26F
accent
#ED713A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971A71

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

Preview Lab → · Contrast checker → · Palette generator →

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