#971F6F#971F6F

#971F6F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.173 H 345.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#971F6F
RGBrgb(151, 31, 111)
HSLhsl(320, 66%, 36%)
HSVhsv(320, 79%, 59%)
CMYKcmyk(0%, 79.5%, 26.5%, 40.8%)
CIE-LABlab(35.42, 55.15, -16.60)
CIE-LCHlch(35.42, 57.60, 343.25°)
OKLaboklab(46.63% 0.1674 -0.0442)
OKLCHoklch(46.63% 0.173 345.2)
XYZxyz(16.1224, 8.7088, 15.8678)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F6F #1F9747
analogous
#831F97 #971F6F #971F33
triadic
#971F6F #6F971F #1F6F97
tetradic
#971F6F #97831F #1F9747 #1F3397
square
#971F6F #97831F #1F9747 #1F3397
split-complementary
#971F6F #33971F #1F9783
monochromatic
#310A24 #64154A #971F6F #CA2994 #DC54AF

Accessibility & contrast

On white

7.66
#971F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#971F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F6F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F6F#FFFFFF#000000##FFFFFF
##971F6F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#545B6C
Tritanopia (blue-blind)
#A21D45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f6f;
/* rgb */ color: rgb(151, 31, 111);
/* oklch */ color: oklch(46.6% 0.173 345.2);
Tailwind
colors: {
  custom: {
    50: '#ba6998',
    500: '#971f6f',
    950: '#000000',
  },
}
SCSS
$custom: #971f6f;
$custom-light: #ba6998;
$custom-dark: #000000;
JSON
{
  "hex": "#971f6f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 320,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.1731,
    "h": 345.2
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#971F6F
secondary
#52BF77
accent
#E9783F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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