#971F6D#971F6D

#971F6D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.172 H 346.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#971F6D
RGBrgb(151, 31, 109)
HSLhsl(321, 66%, 36%)
HSVhsv(321, 79%, 59%)
CMYKcmyk(0%, 79.5%, 27.8%, 40.8%)
CIE-LABlab(35.33, 54.90, -15.46)
CIE-LCHlch(35.33, 57.03, 344.27°)
OKLaboklab(46.53% 0.167 -0.041)
OKLCHoklch(46.53% 0.172 346.2)
XYZxyz(16.0136, 8.6652, 15.2943)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F6D #1F9749
analogous
#851F97 #971F6D #971F31
triadic
#971F6D #6D971F #1F6D97
tetradic
#971F6D #97851F #1F9749 #1F3197
square
#971F6D #97851F #1F9749 #1F3197
split-complementary
#971F6D #31971F #1F9785
monochromatic
#310A24 #641548 #971F6D #CA2992 #DC54AD

Accessibility & contrast

On white

7.68
#971F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#971F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F6D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F6D#FFFFFF#000000##FFFFFF
##971F6D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#555A6A
Tritanopia (blue-blind)
#A21B44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f6d;
/* rgb */ color: rgb(151, 31, 109);
/* oklch */ color: oklch(46.5% 0.172 346.2);
Tailwind
colors: {
  custom: {
    50: '#ba6997',
    500: '#971f6d',
    950: '#000000',
  },
}
SCSS
$custom: #971f6d;
$custom-light: #ba6997;
$custom-dark: #000000;
JSON
{
  "hex": "#971f6d",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 321,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.17193,
    "h": 346.2
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#971F6D
secondary
#52BF79
accent
#E97A3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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