#972D71#972D71

#972D71 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.158 H 345.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#972D71
RGBrgb(151, 45, 113)
HSLhsl(322, 54%, 38%)
HSVhsv(322, 70%, 59%)
CMYKcmyk(0%, 70.2%, 25.2%, 40.8%)
CIE-LABlab(37.21, 50.61, -15.11)
CIE-LCHlch(37.21, 52.81, 343.37°)
OKLaboklab(47.96% 0.1529 -0.0401)
OKLCHoklch(47.96% 0.158 345.3)
XYZxyz(16.6822, 9.6501, 16.6037)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972D71 #2D9753
analogous
#882D97 #972D71 #972D3C
triadic
#972D71 #71972D #2D7197
tetradic
#972D71 #97882D #2D9753 #2D3C97
square
#972D71 #97882D #2D9753 #2D3C97
split-complementary
#972D71 #3C972D #2D9788
monochromatic
#39112A #681F4E #972D71 #C53C94 #D36BAE

Accessibility & contrast

On white

7.17
#972D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#972D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972D71
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972D71#FFFFFF#000000##FFFFFF
##972D711.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A12B4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972d71;
/* rgb */ color: rgb(151, 45, 113);
/* oklch */ color: oklch(48.0% 0.158 345.3);
Tailwind
colors: {
  custom: {
    50: '#b96f9a',
    500: '#972d71',
    950: '#000000',
  },
}
SCSS
$custom: #972d71;
$custom-light: #b96f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972d71",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 321.509,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.1581,
    "h": 345.3
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#972D71
secondary
#66BA84
accent
#DD7F4A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972D71

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

Preview Lab → · Contrast checker → · Palette generator →

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