#971C7F#971C7F

#971C7F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.186 H 337.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#971C7F
RGBrgb(151, 28, 127)
HSLhsl(312, 69%, 35%)
HSVhsv(312, 81%, 59%)
CMYKcmyk(0%, 81.5%, 15.9%, 40.8%)
CIE-LABlab(35.88, 58.16, -25.94)
CIE-LCHlch(35.88, 63.68, 335.96°)
OKLaboklab(47.2% 0.1722 -0.0705)
OKLCHoklch(47.2% 0.186 337.7)
XYZxyz(17.0089, 8.9438, 20.9051)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C7F #1C9734
analogous
#711C97 #971C7F #971C42
triadic
#971C7F #7F971C #1C7F97
tetradic
#971C7F #97711C #1C9734 #1C4297
square
#971C7F #97711C #1C9734 #1C4297
split-complementary
#971C7F #42971C #1C9771
monochromatic
#300928 #631254 #971C7F #CB26AA #DE4FC2

Accessibility & contrast

On white

7.53
#971C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#971C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C7F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C7F#FFFFFF#000000##FFFFFF
##971C7F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224882
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971c7f;
/* rgb */ color: rgb(151, 28, 127);
/* oklch */ color: oklch(47.2% 0.186 337.7);
Tailwind
colors: {
  custom: {
    50: '#ba68a4',
    500: '#971c7f',
    950: '#000000',
  },
}
SCSS
$custom: #971c7f;
$custom-light: #ba68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#971c7f",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 311.707,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.18608,
    "h": 337.7
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#971C7F
secondary
#4EC164
accent
#EC5E3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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