#971E71#971E71

#971E71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.175 H 344.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#971E71
RGBrgb(151, 30, 113)
HSLhsl(319, 67%, 35%)
HSVhsv(319, 80%, 59%)
CMYKcmyk(0%, 80.1%, 25.2%, 40.8%)
CIE-LABlab(35.40, 55.70, -17.88)
CIE-LCHlch(35.40, 58.50, 342.20°)
OKLaboklab(46.64% 0.1686 -0.0477)
OKLCHoklch(46.64% 0.175 344.2)
XYZxyz(16.2081, 8.7019, 16.4457)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E71 #1E9744
analogous
#801E97 #971E71 #971E34
triadic
#971E71 #71971E #1E7197
tetradic
#971E71 #97801E #1E9744 #1E3497
square
#971E71 #97801E #1E9744 #1E3497
split-complementary
#971E71 #34971E #1E9780
monochromatic
#310A25 #64144B #971E71 #CA2897 #DD53B1

Accessibility & contrast

On white

7.66
#971E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#971E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E71
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E71#FFFFFF#000000##FFFFFF
##971E711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e71;
/* rgb */ color: rgb(151, 30, 113);
/* oklch */ color: oklch(46.6% 0.175 344.2);
Tailwind
colors: {
  custom: {
    50: '#ba689a',
    500: '#971e71',
    950: '#000000',
  },
}
SCSS
$custom: #971e71;
$custom-light: #ba689a;
$custom-dark: #000000;
JSON
{
  "hex": "#971e71",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 318.843,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.17527,
    "h": 344.2
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#971E71
secondary
#51C074
accent
#EA743E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971E71

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

Preview Lab → · Contrast checker → · Palette generator →

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