#971F63#971F63

#971F63 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 351.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#971F63
RGBrgb(151, 31, 99)
HSLhsl(326, 66%, 36%)
HSVhsv(326, 79%, 59%)
CMYKcmyk(0%, 79.5%, 34.4%, 40.8%)
CIE-LABlab(34.93, 53.69, -9.70)
CIE-LCHlch(34.93, 54.56, 349.75°)
OKLaboklab(46.11% 0.1646 -0.0252)
OKLCHoklch(46.11% 0.167 351.3)
XYZxyz(15.5055, 8.4620, 12.6188)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F63 #1F9753
analogous
#8F1F97 #971F63 #971F27
triadic
#971F63 #63971F #1F6397
tetradic
#971F63 #978F1F #1F9753 #1F2797
square
#971F63 #978F1F #1F9753 #1F2797
split-complementary
#971F63 #27971F #1F978F
monochromatic
#310A20 #641542 #971F63 #CA2984 #DC54A1

Accessibility & contrast

On white

7.80
#971F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#971F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F63
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F63#FFFFFF#000000##FFFFFF
##971F631.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354465
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#A3143E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971f63;
/* rgb */ color: rgb(151, 31, 99);
/* oklch */ color: oklch(46.1% 0.167 351.3);
Tailwind
colors: {
  custom: {
    50: '#ba688f',
    500: '#971f63',
    950: '#000000',
  },
}
SCSS
$custom: #971f63;
$custom-light: #ba688f;
$custom-dark: #000000;
JSON
{
  "hex": "#971f63",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 326,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.16653,
    "h": 351.3
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#971F63
secondary
#52BF82
accent
#E9893F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971F63

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

Preview Lab → · Contrast checker → · Palette generator →

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