#971C82#971C82

#971C82 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.4% C 0.188 H 336.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#971C82
RGBrgb(151, 28, 130)
HSLhsl(310, 69%, 35%)
HSVhsv(310, 81%, 59%)
CMYKcmyk(0%, 81.5%, 13.9%, 40.8%)
CIE-LABlab(36.03, 58.59, -27.57)
CIE-LCHlch(36.03, 64.75, 334.80°)
OKLaboklab(47.36% 0.1724 -0.0752)
OKLCHoklch(47.36% 0.188 336.4)
XYZxyz(17.2073, 9.0232, 21.9502)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C82 #1C9731
analogous
#6F1C97 #971C82 #971C44
triadic
#971C82 #82971C #1C8297
tetradic
#971C82 #976F1C #1C9731 #1C4497
square
#971C82 #976F1C #1C9731 #1C4497
split-complementary
#971C82 #44971C #1C976F
monochromatic
#300929 #631256 #971C82 #CB26AE #DE4FC6

Accessibility & contrast

On white

7.49
#971C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C82
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C82#FFFFFF#000000##FFFFFF
##971C821.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9F264F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971c82;
/* rgb */ color: rgb(151, 28, 130);
/* oklch */ color: oklch(47.4% 0.188 336.4);
Tailwind
colors: {
  custom: {
    50: '#b968a6',
    500: '#971c82',
    950: '#000000',
  },
}
SCSS
$custom: #971c82;
$custom-light: #b968a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971c82",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 310.244,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.18812,
    "h": 336.4
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#971C82
secondary
#4EC162
accent
#EC5A3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C82

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

Preview Lab → · Contrast checker → · Palette generator →

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