#971B6D#971B6D

#971B6D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 346.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#971B6D
RGBrgb(151, 27, 109)
HSLhsl(320, 70%, 35%)
HSVhsv(320, 82%, 59%)
CMYKcmyk(0%, 82.1%, 27.8%, 40.8%)
CIE-LABlab(34.94, 56.02, -16.06)
CIE-LCHlch(34.94, 58.27, 344.00°)
OKLaboklab(46.25% 0.1705 -0.0426)
OKLCHoklch(46.25% 0.176 346)
XYZxyz(15.9155, 8.4691, 15.2616)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B6D #1B9745
analogous
#831B97 #971B6D #971B2F
triadic
#971B6D #6D971B #1B6D97
tetradic
#971B6D #97831B #1B9745 #1B2F97
square
#971B6D #97831B #1B9745 #1B2F97
split-complementary
#971B6D #2F971B #1B9783
monochromatic
#2F0822 #631248 #971B6D #CB2492 #DF4DAE

Accessibility & contrast

On white

7.80
#971B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#971B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B6D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B6D#FFFFFF#000000##FFFFFF
##971B6D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#545A6A
Tritanopia (blue-blind)
#A21743
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971b6d;
/* rgb */ color: rgb(151, 27, 109);
/* oklch */ color: oklch(46.3% 0.176 346.0);
Tailwind
colors: {
  custom: {
    50: '#ba6797',
    500: '#971b6d',
    950: '#000000',
  },
}
SCSS
$custom: #971b6d;
$custom-light: #ba6797;
$custom-dark: #000000;
JSON
{
  "hex": "#971b6d",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 320.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.1757,
    "h": 346
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#971B6D
secondary
#4CC174
accent
#EC773B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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