#971F76#971F76

#971F76 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.177 H 341.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#971F76
RGBrgb(151, 31, 118)
HSLhsl(317, 66%, 36%)
HSVhsv(317, 79%, 59%)
CMYKcmyk(0%, 79.5%, 21.9%, 40.8%)
CIE-LABlab(35.73, 56.08, -20.53)
CIE-LCHlch(35.73, 59.72, 339.89°)
OKLaboklab(46.95% 0.1686 -0.0552)
OKLCHoklch(46.95% 0.177 341.9)
XYZxyz(16.5231, 8.8690, 17.9778)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F76 #1F9740
analogous
#7C1F97 #971F76 #971F3A
triadic
#971F76 #76971F #1F7697
tetradic
#971F76 #977C1F #1F9740 #1F3A97
square
#971F76 #977C1F #1F9740 #1F3A97
split-complementary
#971F76 #3A971F #1F977C
monochromatic
#310A27 #64154E #971F76 #CA299E #DC54B7

Accessibility & contrast

On white

7.57
#971F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#971F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F76
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F76#FFFFFF#000000##FFFFFF
##971F761.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4878
Deuteranopia (green-blind)
#525B73
Tritanopia (blue-blind)
#A12149
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f76;
/* rgb */ color: rgb(151, 31, 118);
/* oklch */ color: oklch(47.0% 0.177 341.9);
Tailwind
colors: {
  custom: {
    50: '#ba699d',
    500: '#971f76',
    950: '#000000',
  },
}
SCSS
$custom: #971f76;
$custom-light: #ba699d;
$custom-dark: #000000;
JSON
{
  "hex": "#971f76",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 316.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.17739,
    "h": 341.9
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#971F76
secondary
#52BF70
accent
#E96E3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F76

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

Preview Lab → · Contrast checker → · Palette generator →

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