#972A71#972A71

#972A71 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.162 H 345.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#972A71
RGBrgb(151, 42, 113)
HSLhsl(321, 56%, 38%)
HSVhsv(321, 72%, 59%)
CMYKcmyk(0%, 72.2%, 25.2%, 40.8%)
CIE-LABlab(36.80, 51.75, -15.74)
CIE-LCHlch(36.80, 54.09, 343.08°)
OKLaboklab(47.66% 0.1564 -0.0418)
OKLCHoklch(47.66% 0.162 345)
XYZxyz(16.5718, 9.4292, 16.5669)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972A71 #2A9750
analogous
#862A97 #972A71 #972A3B
triadic
#972A71 #71972A #2A7197
tetradic
#972A71 #97862A #2A9750 #2A3B97
square
#972A71 #97862A #2A9750 #2A3B97
split-complementary
#972A71 #3B972A #2A9786
monochromatic
#370F29 #671D4D #972A71 #C73795 #D567AE

Accessibility & contrast

On white

7.28
#972A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#972A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972A71
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972A71#FFFFFF#000000##FFFFFF
##972A711.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A1284A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972a71;
/* rgb */ color: rgb(151, 42, 113);
/* oklch */ color: oklch(47.7% 0.162 345.0);
Tailwind
colors: {
  custom: {
    50: '#b96d9a',
    500: '#972a71',
    950: '#000000',
  },
}
SCSS
$custom: #972a71;
$custom-light: #b96d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972a71",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 320.917,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.16194,
    "h": 345
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#972A71
secondary
#62BB81
accent
#E07D48
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972A71

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

Preview Lab → · Contrast checker → · Palette generator →

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