#971B6A#971B6A

#971B6A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.174 H 347.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#971B6A
RGBrgb(151, 27, 106)
HSLhsl(322, 70%, 35%)
HSVhsv(322, 82%, 59%)
CMYKcmyk(0%, 82.1%, 29.8%, 40.8%)
CIE-LABlab(34.81, 55.65, -14.35)
CIE-LCHlch(34.81, 57.47, 345.54°)
OKLaboklab(46.12% 0.1698 -0.0379)
OKLCHoklch(46.12% 0.174 347.4)
XYZxyz(15.7568, 8.4056, 14.4255)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B6A #1B9748
analogous
#861B97 #971B6A #971B2C
triadic
#971B6A #6A971B #1B6A97
tetradic
#971B6A #97861B #1B9748 #1B2C97
square
#971B6A #97861B #1B9748 #1B2C97
split-complementary
#971B6A #2C971B #1B9786
monochromatic
#2F0821 #631246 #971B6A #CB248E #DF4DAA

Accessibility & contrast

On white

7.83
#971B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#971B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B6A
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B6A#FFFFFF#000000##FFFFFF
##971B6A1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446C
Deuteranopia (green-blind)
#555967
Tritanopia (blue-blind)
#A21441
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971b6a;
/* rgb */ color: rgb(151, 27, 106);
/* oklch */ color: oklch(46.1% 0.174 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba6794',
    500: '#971b6a',
    950: '#000000',
  },
}
SCSS
$custom: #971b6a;
$custom-light: #ba6794;
$custom-dark: #000000;
JSON
{
  "hex": "#971b6a",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 321.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.17401,
    "h": 347.4
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#971B6A
secondary
#4CC177
accent
#EC7C3B
background
#FCF6F9
surface
#F8EBF1
border
#D1C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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