#971F79#971F79

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

Color values

HEX#971F79
RGBrgb(151, 31, 121)
HSLhsl(315, 66%, 36%)
HSVhsv(315, 79%, 59%)
CMYKcmyk(0%, 79.5%, 19.9%, 40.8%)
CIE-LABlab(35.87, 56.49, -22.19)
CIE-LCHlch(35.87, 60.69, 338.55°)
OKLaboklab(47.1% 0.169 -0.0599)
OKLCHoklch(47.1% 0.179 340.5)
XYZxyz(16.7042, 8.9415, 18.9316)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F79 #1F973D
analogous
#791F97 #971F79 #971F3D
triadic
#971F79 #79971F #1F7997
tetradic
#971F79 #97791F #1F973D #1F3D97
square
#971F79 #97791F #1F973D #1F3D97
split-complementary
#971F79 #3D971F #1F9779
monochromatic
#310A28 #641550 #971F79 #CA29A2 #DC54BA

Accessibility & contrast

On white

7.53
#971F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#971F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F79
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F79#FFFFFF#000000##FFFFFF
##971F791.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#A0234A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f79;
/* rgb */ color: rgb(151, 31, 121);
/* oklch */ color: oklch(47.1% 0.179 340.5);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#971f79',
    950: '#000000',
  },
}
SCSS
$custom: #971f79;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#971f79",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 315,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.17931,
    "h": 340.5
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#971F79
secondary
#52BF6E
accent
#E9693F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F79

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

Preview Lab → · Contrast checker → · Palette generator →

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