#971F82#971F82

#971F82 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 336.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#971F82
RGBrgb(151, 31, 130)
HSLhsl(311, 66%, 36%)
HSVhsv(311, 79%, 59%)
CMYKcmyk(0%, 79.5%, 13.9%, 40.8%)
CIE-LABlab(36.31, 57.77, -27.12)
CIE-LCHlch(36.31, 63.82, 334.85°)
OKLaboklab(47.56% 0.17 -0.0739)
OKLCHoklch(47.56% 0.185 336.5)
XYZxyz(17.2821, 9.1726, 21.9751)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F82 #1F9734
analogous
#701F97 #971F82 #971F46
triadic
#971F82 #82971F #1F8297
tetradic
#971F82 #97701F #1F9734 #1F4697
square
#971F82 #97701F #1F9734 #1F4697
split-complementary
#971F82 #46971F #1F9770
monochromatic
#310A2B #641556 #971F82 #CA29AE #DC54C4

Accessibility & contrast

On white

7.41
#971F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#971F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F82
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F82#FFFFFF#000000##FFFFFF
##971F821.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971f82;
/* rgb */ color: rgb(151, 31, 130);
/* oklch */ color: oklch(47.6% 0.185 336.5);
Tailwind
colors: {
  custom: {
    50: '#b96aa6',
    500: '#971f82',
    950: '#000000',
  },
}
SCSS
$custom: #971f82;
$custom-light: #b96aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#971f82",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 310.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.18537,
    "h": 336.5
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#971F82
secondary
#52BF65
accent
#E95D3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971F82

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

Preview Lab → · Contrast checker → · Palette generator →

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