#971E72#971E72

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

Color values

HEX#971E72
RGBrgb(151, 30, 114)
HSLhsl(318, 67%, 35%)
HSVhsv(318, 80%, 59%)
CMYKcmyk(0%, 80.1%, 24.5%, 40.8%)
CIE-LABlab(35.45, 55.83, -18.45)
CIE-LCHlch(35.45, 58.80, 341.72°)
OKLaboklab(46.69% 0.1688 -0.0493)
OKLCHoklch(46.69% 0.176 343.7)
XYZxyz(16.2647, 8.7245, 16.7438)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E72 #1E9743
analogous
#7F1E97 #971E72 #971E35
triadic
#971E72 #72971E #1E7297
tetradic
#971E72 #977F1E #1E9743 #1E3597
square
#971E72 #977F1E #1E9743 #1E3597
split-complementary
#971E72 #35971E #1E977F
monochromatic
#310A25 #64144B #971E72 #CA2899 #DD53B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971E72#FFFFFF#000000##FFFFFF
##971E721.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)
#2D4774
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#A11E46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971e72;
/* rgb */ color: rgb(151, 30, 114);
/* oklch */ color: oklch(46.7% 0.176 343.7);
Tailwind
colors: {
  custom: {
    50: '#ba699a',
    500: '#971e72',
    950: '#000000',
  },
}
SCSS
$custom: #971e72;
$custom-light: #ba699a;
$custom-dark: #000000;
JSON
{
  "hex": "#971e72",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 318.347,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.17587,
    "h": 343.7
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#971E72
secondary
#51C073
accent
#EA733E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971E72

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

Preview Lab → · Contrast checker → · Palette generator →

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