#971F78#971F78

#971F78 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.179 H 340.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#971F78
RGBrgb(151, 31, 120)
HSLhsl(316, 66%, 36%)
HSVhsv(316, 79%, 59%)
CMYKcmyk(0%, 79.5%, 20.5%, 40.8%)
CIE-LABlab(35.82, 56.35, -21.64)
CIE-LCHlch(35.82, 60.36, 338.99°)
OKLaboklab(47.05% 0.1689 -0.0583)
OKLCHoklch(47.05% 0.179 340.9)
XYZxyz(16.6432, 8.9171, 18.6103)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F78 #1F973E
analogous
#7A1F97 #971F78 #971F3C
triadic
#971F78 #78971F #1F7897
tetradic
#971F78 #977A1F #1F973E #1F3C97
square
#971F78 #977A1F #1F973E #1F3C97
split-complementary
#971F78 #3C971F #1F977A
monochromatic
#310A27 #641550 #971F78 #CA29A0 #DC54B9

Accessibility & contrast

On white

7.55
#971F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F78
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F78#FFFFFF#000000##FFFFFF
##971F781.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#A0224A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f78;
/* rgb */ color: rgb(151, 31, 120);
/* oklch */ color: oklch(47.1% 0.179 340.9);
Tailwind
colors: {
  custom: {
    50: '#ba699f',
    500: '#971f78',
    950: '#000000',
  },
}
SCSS
$custom: #971f78;
$custom-light: #ba699f;
$custom-dark: #000000;
JSON
{
  "hex": "#971f78",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 315.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.17866,
    "h": 340.9
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #971F78

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

Preview Lab → · Contrast checker → · Palette generator →

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