#971A79#971A79

#971A79 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.184 H 340.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#971A79
RGBrgb(151, 26, 121)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 59%)
CMYKcmyk(0%, 82.8%, 19.9%, 40.8%)
CIE-LABlab(35.40, 57.84, -22.93)
CIE-LCHlch(35.40, 62.22, 338.38°)
OKLaboklab(46.76% 0.1731 -0.062)
OKLCHoklch(46.76% 0.184 340.3)
XYZxyz(16.5836, 8.7003, 18.8914)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A79 #1A9738
analogous
#771A97 #971A79 #971A3B
triadic
#971A79 #79971A #1A7997
tetradic
#971A79 #97771A #1A9738 #1A3B97
square
#971A79 #97771A #1A9738 #1A3B97
split-complementary
#971A79 #3B971A #1A9777
monochromatic
#2F0825 #63114F #971A79 #CB23A3 #E04BBC

Accessibility & contrast

On white

7.66
#971A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#971A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A79
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A79#FFFFFF#000000##FFFFFF
##971A791.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#A01F49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971a79;
/* rgb */ color: rgb(151, 26, 121);
/* oklch */ color: oklch(46.8% 0.184 340.3);
Tailwind
colors: {
  custom: {
    50: '#ba67a0',
    500: '#971a79',
    950: '#000000',
  },
}
SCSS
$custom: #971a79;
$custom-light: #ba67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#971a79",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 314.4,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.18388,
    "h": 340.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#971A79
secondary
#4BC267
accent
#ED653A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971A79

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

Preview Lab → · Contrast checker → · Palette generator →

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