#971B6B#971B6B

#971B6B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.175 H 346.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#971B6B
RGBrgb(151, 27, 107)
HSLhsl(321, 70%, 35%)
HSVhsv(321, 82%, 59%)
CMYKcmyk(0%, 82.1%, 29.1%, 40.8%)
CIE-LABlab(34.86, 55.77, -14.92)
CIE-LCHlch(34.86, 57.73, 345.02°)
OKLaboklab(46.16% 0.1701 -0.0395)
OKLCHoklch(46.16% 0.175 346.9)
XYZxyz(15.8091, 8.4265, 14.7010)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B6B #1B9747
analogous
#851B97 #971B6B #971B2D
triadic
#971B6B #6B971B #1B6B97
tetradic
#971B6B #97851B #1B9747 #1B2D97
square
#971B6B #97851B #1B9747 #1B2D97
split-complementary
#971B6B #2D971B #1B9785
monochromatic
#2F0821 #631246 #971B6B #CB2490 #DF4DAB

Accessibility & contrast

On white

7.82
#971B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B6B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B6B#FFFFFF#000000##FFFFFF
##971B6B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#545968
Tritanopia (blue-blind)
#A21542
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971b6b;
/* rgb */ color: rgb(151, 27, 107);
/* oklch */ color: oklch(46.2% 0.175 346.9);
Tailwind
colors: {
  custom: {
    50: '#ba6795',
    500: '#971b6b',
    950: '#000000',
  },
}
SCSS
$custom: #971b6b;
$custom-light: #ba6795;
$custom-dark: #000000;
JSON
{
  "hex": "#971b6b",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 321.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.17457,
    "h": 346.9
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#971B6B
secondary
#4CC176
accent
#EC7A3B
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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