#971C7C#971C7C

#971C7C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.184 H 339.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#971C7C
RGBrgb(151, 28, 124)
HSLhsl(313, 69%, 35%)
HSVhsv(313, 81%, 59%)
CMYKcmyk(0%, 81.5%, 17.9%, 40.8%)
CIE-LABlab(35.73, 57.74, -24.30)
CIE-LCHlch(35.73, 62.64, 337.18°)
OKLaboklab(47.04% 0.1719 -0.0659)
OKLCHoklch(47.04% 0.184 339)
XYZxyz(16.8163, 8.8667, 19.8907)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C7C #1C9737
analogous
#751C97 #971C7C #971C3E
triadic
#971C7C #7C971C #1C7C97
tetradic
#971C7C #97751C #1C9737 #1C3E97
square
#971C7C #97751C #1C9737 #1C3E97
split-complementary
#971C7C #3E971C #1C9775
monochromatic
#300927 #631252 #971C7C #CB26A6 #DE4FBF

Accessibility & contrast

On white

7.57
#971C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#971C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C7C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C7C#FFFFFF#000000##FFFFFF
##971C7C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#A0224B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971c7c;
/* rgb */ color: rgb(151, 28, 124);
/* oklch */ color: oklch(47.0% 0.184 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a2',
    500: '#971c7c',
    950: '#000000',
  },
}
SCSS
$custom: #971c7c;
$custom-light: #ba68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#971c7c",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 313.171,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.18409,
    "h": 339
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#971C7C
secondary
#4EC167
accent
#EC633C
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C7C

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

Preview Lab → · Contrast checker → · Palette generator →

#971C7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva