#972D7C#972D7C

#972D7C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.165 H 339.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#972D7C
RGBrgb(151, 45, 124)
HSLhsl(315, 54%, 38%)
HSVhsv(315, 70%, 59%)
CMYKcmyk(0%, 70.2%, 17.9%, 40.8%)
CIE-LABlab(37.69, 52.17, -21.25)
CIE-LCHlch(37.69, 56.33, 337.84°)
OKLaboklab(48.46% 0.1551 -0.0573)
OKLCHoklch(48.46% 0.165 339.7)
XYZxyz(17.3394, 9.9129, 20.0651)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972D7C #2D9748
analogous
#7D2D97 #972D7C #972D47
triadic
#972D7C #7C972D #2D7C97
tetradic
#972D7C #977D2D #2D9748 #2D4797
square
#972D7C #977D2D #2D9748 #2D4797
split-complementary
#972D7C #47972D #2D977D
monochromatic
#39112F #681F55 #972D7C #C53CA2 #D36BB9

Accessibility & contrast

On white

7.04
#972D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#972D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972D7C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972D7C#FFFFFF#000000##FFFFFF
##972D7C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A03050
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972d7c;
/* rgb */ color: rgb(151, 45, 124);
/* oklch */ color: oklch(48.5% 0.165 339.7);
Tailwind
colors: {
  custom: {
    50: '#b96fa2',
    500: '#972d7c',
    950: '#000000',
  },
}
SCSS
$custom: #972d7c;
$custom-light: #b96fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#972d7c",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 315.283,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.16534,
    "h": 339.7
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#972D7C
secondary
#66BA7B
accent
#DD704A
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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