#971A7A#971A7A

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

Color values

HEX#971A7A
RGBrgb(151, 26, 122)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 59%)
CMYKcmyk(0%, 82.8%, 19.2%, 40.8%)
CIE-LABlab(35.45, 57.97, -23.48)
CIE-LCHlch(35.45, 62.55, 337.95°)
OKLaboklab(46.81% 0.1732 -0.0635)
OKLCHoklch(46.81% 0.185 339.9)
XYZxyz(16.6452, 8.7250, 19.2161)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A7A #1A9737
analogous
#761A97 #971A7A #971A3C
triadic
#971A7A #7A971A #1A7A97
tetradic
#971A7A #97761A #1A9737 #1A3C97
square
#971A7A #97761A #1A9737 #1A3C97
split-complementary
#971A7A #3C971A #1A9776
monochromatic
#2F0826 #631150 #971A7A #CB23A4 #E04BBE

Accessibility & contrast

On white

7.65
#971A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A7A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A7A#FFFFFF#000000##FFFFFF
##971A7A1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#A0204A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971a7a;
/* rgb */ color: rgb(151, 26, 122);
/* oklch */ color: oklch(46.8% 0.185 339.9);
Tailwind
colors: {
  custom: {
    50: '#ba68a0',
    500: '#971a7a',
    950: '#000000',
  },
}
SCSS
$custom: #971a7a;
$custom-light: #ba68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#971a7a",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 313.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.18453,
    "h": 339.9
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#971A7A
secondary
#4BC266
accent
#ED643A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #971A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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