#971F6B#971F6B

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

Color values

HEX#971F6B
RGBrgb(151, 31, 107)
HSLhsl(322, 66%, 36%)
HSVhsv(322, 79%, 59%)
CMYKcmyk(0%, 79.5%, 29.1%, 40.8%)
CIE-LABlab(35.25, 54.65, -14.32)
CIE-LCHlch(35.25, 56.49, 345.31°)
OKLaboklab(46.45% 0.1666 -0.0378)
OKLCHoklch(46.45% 0.171 347.2)
XYZxyz(15.9071, 8.6226, 14.7337)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F6B #1F974B
analogous
#871F97 #971F6B #971F2F
triadic
#971F6B #6B971F #1F6B97
tetradic
#971F6B #97871F #1F974B #1F2F97
square
#971F6B #97871F #1F974B #1F2F97
split-complementary
#971F6B #2F971F #1F9787
monochromatic
#310A23 #641547 #971F6B #CA298F #DC54AA

Accessibility & contrast

On white

7.71
#971F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F6B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F6B#FFFFFF#000000##FFFFFF
##971F6B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#565A68
Tritanopia (blue-blind)
#A21A43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f6b;
/* rgb */ color: rgb(151, 31, 107);
/* oklch */ color: oklch(46.4% 0.171 347.2);
Tailwind
colors: {
  custom: {
    50: '#ba6995',
    500: '#971f6b',
    950: '#000000',
  },
}
SCSS
$custom: #971f6b;
$custom-light: #ba6995;
$custom-dark: #000000;
JSON
{
  "hex": "#971f6b",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 322,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.17079,
    "h": 347.2
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#971F6B
secondary
#52BF7A
accent
#E97D3F
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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