#971A81#971A81

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

Color values

HEX#971A81
RGBrgb(151, 26, 129)
HSLhsl(311, 71%, 35%)
HSVhsv(311, 83%, 59%)
CMYKcmyk(0%, 82.8%, 14.6%, 40.8%)
CIE-LABlab(35.80, 58.96, -27.30)
CIE-LCHlch(35.80, 64.97, 335.15°)
OKLaboklab(47.18% 0.1739 -0.0744)
OKLCHoklch(47.18% 0.189 336.8)
XYZxyz(17.0947, 8.9047, 21.5831)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A81 #1A9730
analogous
#6F1A97 #971A81 #971A43
triadic
#971A81 #81971A #1A8197
tetradic
#971A81 #976F1A #1A9730 #1A4397
square
#971A81 #976F1A #1A9730 #1A4397
split-complementary
#971A81 #43971A #1A976F
monochromatic
#2F0828 #631154 #971A81 #CB23AE #E04BC6

Accessibility & contrast

On white

7.55
#971A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A81
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A81#FFFFFF#000000##FFFFFF
##971A811.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4884
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9F244E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971a81;
/* rgb */ color: rgb(151, 26, 129);
/* oklch */ color: oklch(47.2% 0.189 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#971a81',
    950: '#000000',
  },
}
SCSS
$custom: #971a81;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971a81",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 310.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.18916,
    "h": 336.8
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#971A81
secondary
#4BC260
accent
#ED5A3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971A81

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

Preview Lab → · Contrast checker → · Palette generator →

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