#971F7A#971F7A

#971F7A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 340.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#971F7A
RGBrgb(151, 31, 122)
HSLhsl(315, 66%, 36%)
HSVhsv(315, 79%, 59%)
CMYKcmyk(0%, 79.5%, 19.2%, 40.8%)
CIE-LABlab(35.92, 56.62, -22.75)
CIE-LCHlch(35.92, 61.02, 338.11°)
OKLaboklab(47.15% 0.1691 -0.0615)
OKLCHoklch(47.15% 0.18 340)
XYZxyz(16.7658, 8.9661, 19.2563)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F7A #1F973C
analogous
#781F97 #971F7A #971F3E
triadic
#971F7A #7A971F #1F7A97
tetradic
#971F7A #97781F #1F973C #1F3E97
square
#971F7A #97781F #1F973C #1F3E97
split-complementary
#971F7A #3E971F #1F9778
monochromatic
#310A28 #641551 #971F7A #CA29A3 #DC54BB

Accessibility & contrast

On white

7.52
#971F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F7A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F7A#FFFFFF#000000##FFFFFF
##971F7A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f7a;
/* rgb */ color: rgb(151, 31, 122);
/* oklch */ color: oklch(47.2% 0.180 340.0);
Tailwind
colors: {
  custom: {
    50: '#b969a0',
    500: '#971f7a',
    950: '#000000',
  },
}
SCSS
$custom: #971f7a;
$custom-light: #b969a0;
$custom-dark: #000000;
JSON
{
  "hex": "#971f7a",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 314.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.17997,
    "h": 340
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#971F7A
secondary
#52BF6D
accent
#E9683F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #971F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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