#971F6A#971F6A

#971F6A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.170 H 347.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#971F6A
RGBrgb(151, 31, 106)
HSLhsl(323, 66%, 36%)
HSVhsv(323, 79%, 59%)
CMYKcmyk(0%, 79.5%, 29.8%, 40.8%)
CIE-LABlab(35.21, 54.52, -13.75)
CIE-LCHlch(35.21, 56.23, 345.85°)
OKLaboklab(46.4% 0.1663 -0.0362)
OKLCHoklch(46.4% 0.17 347.7)
XYZxyz(15.8548, 8.6017, 14.4582)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F6A #1F974C
analogous
#881F97 #971F6A #971F2E
triadic
#971F6A #6A971F #1F6A97
tetradic
#971F6A #97881F #1F974C #1F2E97
square
#971F6A #97881F #1F974C #1F2E97
split-complementary
#971F6A #2E971F #1F9788
monochromatic
#310A23 #641546 #971F6A #CA298E #DC54A9

Accessibility & contrast

On white

7.72
#971F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F6A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F6A#FFFFFF#000000##FFFFFF
##971F6A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466C
Deuteranopia (green-blind)
#565A67
Tritanopia (blue-blind)
#A21942
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f6a;
/* rgb */ color: rgb(151, 31, 106);
/* oklch */ color: oklch(46.4% 0.170 347.7);
Tailwind
colors: {
  custom: {
    50: '#ba6994',
    500: '#971f6a',
    950: '#000000',
  },
}
SCSS
$custom: #971f6a;
$custom-light: #ba6994;
$custom-dark: #000000;
JSON
{
  "hex": "#971f6a",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 322.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46402,
    "c": 0.17023,
    "h": 347.7
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#971F6A
secondary
#52BF7B
accent
#E97F3F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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