#971C7D#971C7D

#971C7D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 338.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#971C7D
RGBrgb(151, 28, 125)
HSLhsl(313, 69%, 35%)
HSVhsv(313, 81%, 59%)
CMYKcmyk(0%, 81.5%, 17.2%, 40.8%)
CIE-LABlab(35.78, 57.88, -24.85)
CIE-LCHlch(35.78, 62.98, 336.77°)
OKLaboklab(47.1% 0.172 -0.0674)
OKLCHoklch(47.1% 0.185 338.6)
XYZxyz(16.8799, 8.8922, 20.2254)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C7D #1C9736
analogous
#731C97 #971C7D #971C3F
triadic
#971C7D #7D971C #1C7D97
tetradic
#971C7D #97731C #1C9736 #1C3F97
square
#971C7D #97731C #1C9736 #1C3F97
split-complementary
#971C7D #3F971C #1C9773
monochromatic
#300928 #631252 #971C7D #CB26A8 #DE4FC0

Accessibility & contrast

On white

7.56
#971C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C7D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C7D#FFFFFF#000000##FFFFFF
##971C7D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4E5B7A
Tritanopia (blue-blind)
#A0234C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971c7d;
/* rgb */ color: rgb(151, 28, 125);
/* oklch */ color: oklch(47.1% 0.185 338.6);
Tailwind
colors: {
  custom: {
    50: '#ba68a3',
    500: '#971c7d',
    950: '#000000',
  },
}
SCSS
$custom: #971c7d;
$custom-light: #ba68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#971c7d",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 312.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.18475,
    "h": 338.6
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#971C7D
secondary
#4EC166
accent
#EC613C
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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