#971D71#971D71

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

Color values

HEX#971D71
RGBrgb(151, 29, 113)
HSLhsl(319, 68%, 35%)
HSVhsv(319, 81%, 59%)
CMYKcmyk(0%, 80.8%, 25.2%, 40.8%)
CIE-LABlab(35.31, 55.98, -18.03)
CIE-LCHlch(35.31, 58.82, 342.14°)
OKLaboklab(46.57% 0.1695 -0.0482)
OKLCHoklch(46.57% 0.176 344.1)
XYZxyz(16.1832, 8.6521, 16.4373)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D71 #1D9743
analogous
#801D97 #971D71 #971D34
triadic
#971D71 #71971D #1D7197
tetradic
#971D71 #97801D #1D9743 #1D3497
square
#971D71 #97801D #1D9743 #1D3497
split-complementary
#971D71 #34971D #1D9780
monochromatic
#300924 #64134B #971D71 #CA2797 #DE51B2

Accessibility & contrast

On white

7.69
#971D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#971D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D71
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D71#FFFFFF#000000##FFFFFF
##971D711.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971d71;
/* rgb */ color: rgb(151, 29, 113);
/* oklch */ color: oklch(46.6% 0.176 344.1);
Tailwind
colors: {
  custom: {
    50: '#ba689a',
    500: '#971d71',
    950: '#000000',
  },
}
SCSS
$custom: #971d71;
$custom-light: #ba689a;
$custom-dark: #000000;
JSON
{
  "hex": "#971d71",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 318.689,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.17622,
    "h": 344.1
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#971D71
secondary
#4FC073
accent
#EB733D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971D71

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

Preview Lab → · Contrast checker → · Palette generator →

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