#971F77#971F77

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

Color values

HEX#971F77
RGBrgb(151, 31, 119)
HSLhsl(316, 66%, 36%)
HSVhsv(316, 79%, 59%)
CMYKcmyk(0%, 79.5%, 21.2%, 40.8%)
CIE-LABlab(35.78, 56.21, -21.09)
CIE-LCHlch(35.78, 60.04, 339.44°)
OKLaboklab(47% 0.1687 -0.0568)
OKLCHoklch(47% 0.178 341.4)
XYZxyz(16.5828, 8.8929, 18.2924)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F77 #1F973F
analogous
#7B1F97 #971F77 #971F3B
triadic
#971F77 #77971F #1F7797
tetradic
#971F77 #977B1F #1F973F #1F3B97
square
#971F77 #977B1F #1F973F #1F3B97
split-complementary
#971F77 #3B971F #1F977B
monochromatic
#310A27 #64154F #971F77 #CA299F #DC54B8

Accessibility & contrast

On white

7.56
#971F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F77
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F77#FFFFFF#000000##FFFFFF
##971F771.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#A12249
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f77;
/* rgb */ color: rgb(151, 31, 119);
/* oklch */ color: oklch(47.0% 0.178 341.4);
Tailwind
colors: {
  custom: {
    50: '#ba699e',
    500: '#971f77',
    950: '#000000',
  },
}
SCSS
$custom: #971f77;
$custom-light: #ba699e;
$custom-dark: #000000;
JSON
{
  "hex": "#971f77",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 316,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.17802,
    "h": 341.4
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#971F77
secondary
#52BF6F
accent
#E96C3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F77

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

Preview Lab → · Contrast checker → · Palette generator →

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