#971F68#971F68

#971F68 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.169 H 348.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#971F68
RGBrgb(151, 31, 104)
HSLhsl(324, 66%, 36%)
HSVhsv(324, 79%, 59%)
CMYKcmyk(0%, 79.5%, 31.1%, 40.8%)
CIE-LABlab(35.12, 54.28, -12.60)
CIE-LCHlch(35.12, 55.72, 346.93°)
OKLaboklab(46.32% 0.1659 -0.0331)
OKLCHoklch(46.32% 0.169 348.7)
XYZxyz(15.7520, 8.5606, 13.9169)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F68 #1F974E
analogous
#8A1F97 #971F68 #971F2C
triadic
#971F68 #68971F #1F6897
tetradic
#971F68 #978A1F #1F974E #1F2C97
square
#971F68 #978A1F #1F974E #1F2C97
split-complementary
#971F68 #2C971F #1F978A
monochromatic
#310A22 #641545 #971F68 #CA298B #DC54A7

Accessibility & contrast

On white

7.74
#971F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#971F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F68
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F68#FFFFFF#000000##FFFFFF
##971F681.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33456A
Deuteranopia (green-blind)
#565A65
Tritanopia (blue-blind)
#A21841
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f68;
/* rgb */ color: rgb(151, 31, 104);
/* oklch */ color: oklch(46.3% 0.169 348.7);
Tailwind
colors: {
  custom: {
    50: '#ba6893',
    500: '#971f68',
    950: '#000000',
  },
}
SCSS
$custom: #971f68;
$custom-light: #ba6893;
$custom-dark: #000000;
JSON
{
  "hex": "#971f68",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 323.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.16914,
    "h": 348.7
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#971F68
secondary
#52BF7D
accent
#E9813F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F68

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

Preview Lab → · Contrast checker → · Palette generator →

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