#972971#972971

#972971 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.163 H 344.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#972971
RGBrgb(151, 41, 113)
HSLhsl(321, 57%, 38%)
HSVhsv(321, 73%, 59%)
CMYKcmyk(0%, 72.8%, 25.2%, 40.8%)
CIE-LABlab(36.67, 52.12, -15.94)
CIE-LCHlch(36.67, 54.50, 342.99°)
OKLaboklab(47.56% 0.1576 -0.0424)
OKLCHoklch(47.56% 0.163 344.9)
XYZxyz(16.5367, 9.3592, 16.5552)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972971 #29974F
analogous
#862997 #972971 #97293A
triadic
#972971 #719729 #297197
tetradic
#972971 #978629 #29974F #293A97
square
#972971 #978629 #29974F #293A97
split-complementary
#972971 #3A9729 #299786
monochromatic
#370F29 #671C4D #972971 #C73695 #D565AF

Accessibility & contrast

On white

7.31
#972971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#972971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972971
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972971#FFFFFF#000000##FFFFFF
##9729711.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A12749
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972971;
/* rgb */ color: rgb(151, 41, 113);
/* oklch */ color: oklch(47.6% 0.163 344.9);
Tailwind
colors: {
  custom: {
    50: '#b96d9a',
    500: '#972971',
    950: '#000000',
  },
}
SCSS
$custom: #972971;
$custom-light: #b96d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972971",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 320.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.16317,
    "h": 344.9
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#972971
secondary
#61BB80
accent
#E17C47
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972971

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

Preview Lab → · Contrast checker → · Palette generator →

#972971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva