#971F73#971F73

#971F73 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.176 H 343.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#971F73
RGBrgb(151, 31, 115)
HSLhsl(318, 66%, 36%)
HSVhsv(318, 79%, 59%)
CMYKcmyk(0%, 79.5%, 23.8%, 40.8%)
CIE-LABlab(35.59, 55.67, -18.85)
CIE-LCHlch(35.59, 58.78, 341.29°)
OKLaboklab(46.81% 0.1681 -0.0505)
OKLCHoklch(46.81% 0.176 343.3)
XYZxyz(16.3476, 8.7988, 17.0538)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F73 #1F9743
analogous
#7F1F97 #971F73 #971F37
triadic
#971F73 #73971F #1F7397
tetradic
#971F73 #977F1F #1F9743 #1F3797
square
#971F73 #977F1F #1F9743 #1F3797
split-complementary
#971F73 #37971F #1F977F
monochromatic
#310A26 #64154C #971F73 #CA299A #DC54B3

Accessibility & contrast

On white

7.61
#971F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#971F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F73
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F73#FFFFFF#000000##FFFFFF
##971F731.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#535B70
Tritanopia (blue-blind)
#A11F47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f73;
/* rgb */ color: rgb(151, 31, 115);
/* oklch */ color: oklch(46.8% 0.176 343.3);
Tailwind
colors: {
  custom: {
    50: '#ba699b',
    500: '#971f73',
    950: '#000000',
  },
}
SCSS
$custom: #971f73;
$custom-light: #ba699b;
$custom-dark: #000000;
JSON
{
  "hex": "#971f73",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 318,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.17552,
    "h": 343.3
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#971F73
secondary
#52BF73
accent
#E9723F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F73

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

Preview Lab → · Contrast checker → · Palette generator →

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