#971A82#971A82

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

Color values

HEX#971A82
RGBrgb(151, 26, 130)
HSLhsl(310, 71%, 35%)
HSVhsv(310, 83%, 59%)
CMYKcmyk(0%, 82.8%, 13.9%, 40.8%)
CIE-LABlab(35.85, 59.10, -27.84)
CIE-LCHlch(35.85, 65.33, 334.77°)
OKLaboklab(47.23% 0.174 -0.076)
OKLCHoklch(47.23% 0.19 336.4)
XYZxyz(17.1615, 8.9315, 21.9349)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A82 #1A972F
analogous
#6E1A97 #971A82 #971A44
triadic
#971A82 #82971A #1A8297
tetradic
#971A82 #976E1A #1A972F #1A4497
square
#971A82 #976E1A #1A972F #1A4497
split-complementary
#971A82 #44971A #1A976E
monochromatic
#2F0828 #631155 #971A82 #CB23AF #E04BC7

Accessibility & contrast

On white

7.54
#971A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A82
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A82#FFFFFF#000000##FFFFFF
##971A821.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9F254E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971a82;
/* rgb */ color: rgb(151, 26, 130);
/* oklch */ color: oklch(47.2% 0.190 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#971a82',
    950: '#000000',
  },
}
SCSS
$custom: #971a82;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971a82",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 310.08,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.18984,
    "h": 336.4
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#971A82
secondary
#4BC25F
accent
#ED583A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971A82

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

Preview Lab → · Contrast checker → · Palette generator →

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