#971B71#971B71

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

Color values

HEX#971B71
RGBrgb(151, 27, 113)
HSLhsl(318, 70%, 35%)
HSVhsv(318, 82%, 59%)
CMYKcmyk(0%, 82.1%, 25.2%, 40.8%)
CIE-LABlab(35.12, 56.52, -18.33)
CIE-LCHlch(35.12, 59.42, 342.04°)
OKLaboklab(46.44% 0.1712 -0.049)
OKLCHoklch(46.44% 0.178 344)
XYZxyz(16.1358, 8.5572, 16.4215)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B71 #1B9741
analogous
#7F1B97 #971B71 #971B33
triadic
#971B71 #71971B #1B7197
tetradic
#971B71 #977F1B #1B9741 #1B3397
square
#971B71 #977F1B #1B9741 #1B3397
split-complementary
#971B71 #33971B #1B977F
monochromatic
#2F0823 #63124A #971B71 #CB2498 #DF4DB2

Accessibility & contrast

On white

7.75
#971B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#971B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B71
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B71#FFFFFF#000000##FFFFFF
##971B711.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b71;
/* rgb */ color: rgb(151, 27, 113);
/* oklch */ color: oklch(46.4% 0.178 344.0);
Tailwind
colors: {
  custom: {
    50: '#ba679a',
    500: '#971b71',
    950: '#000000',
  },
}
SCSS
$custom: #971b71;
$custom-light: #ba679a;
$custom-dark: #000000;
JSON
{
  "hex": "#971b71",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 318.387,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.17805,
    "h": 344
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#971B71
secondary
#4CC170
accent
#EC723B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971B71

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

Preview Lab → · Contrast checker → · Palette generator →

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