#972B71#972B71

#972B71 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.161 H 345.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#972B71
RGBrgb(151, 43, 113)
HSLhsl(321, 56%, 38%)
HSVhsv(321, 72%, 59%)
CMYKcmyk(0%, 71.5%, 25.2%, 40.8%)
CIE-LABlab(36.93, 51.38, -15.54)
CIE-LCHlch(36.93, 53.67, 343.17°)
OKLaboklab(47.75% 0.1553 -0.0413)
OKLCHoklch(47.75% 0.161 345.1)
XYZxyz(16.6077, 9.5010, 16.5788)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972B71 #2B9751
analogous
#872B97 #972B71 #972B3B
triadic
#972B71 #71972B #2B7197
tetradic
#972B71 #97872B #2B9751 #2B3B97
square
#972B71 #97872B #2B9751 #2B3B97
split-complementary
#972B71 #3B972B #2B9787
monochromatic
#38102A #671D4D #972B71 #C73995 #D468AE

Accessibility & contrast

On white

7.24
#972B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#972B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972B71
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972B71#FFFFFF#000000##FFFFFF
##972B711.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A1294A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972b71;
/* rgb */ color: rgb(151, 43, 113);
/* oklch */ color: oklch(47.8% 0.161 345.1);
Tailwind
colors: {
  custom: {
    50: '#b96e9a',
    500: '#972b71',
    950: '#000000',
  },
}
SCSS
$custom: #972b71;
$custom-light: #b96e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972b71",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 321.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.16068,
    "h": 345.1
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#972B71
secondary
#63BB82
accent
#DF7E49
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972B71

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

Preview Lab → · Contrast checker → · Palette generator →

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