#971B6C#971B6C

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

Color values

HEX#971B6C
RGBrgb(151, 27, 108)
HSLhsl(321, 70%, 35%)
HSVhsv(321, 82%, 59%)
CMYKcmyk(0%, 82.1%, 28.5%, 40.8%)
CIE-LABlab(34.90, 55.89, -15.49)
CIE-LCHlch(34.90, 58.00, 344.51°)
OKLaboklab(46.21% 0.1703 -0.0411)
OKLCHoklch(46.21% 0.175 346.4)
XYZxyz(15.8620, 8.4477, 14.9797)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B6C #1B9746
analogous
#841B97 #971B6C #971B2E
triadic
#971B6C #6C971B #1B6C97
tetradic
#971B6C #97841B #1B9746 #1B2E97
square
#971B6C #97841B #1B9746 #1B2E97
split-complementary
#971B6C #2E971B #1B9784
monochromatic
#2F0822 #631247 #971B6C #CB2491 #DF4DAD

Accessibility & contrast

On white

7.81
#971B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B6C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B6C#FFFFFF#000000##FFFFFF
##971B6C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456E
Deuteranopia (green-blind)
#545A69
Tritanopia (blue-blind)
#A21642
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971b6c;
/* rgb */ color: rgb(151, 27, 108);
/* oklch */ color: oklch(46.2% 0.175 346.4);
Tailwind
colors: {
  custom: {
    50: '#ba6796',
    500: '#971b6c',
    950: '#000000',
  },
}
SCSS
$custom: #971b6c;
$custom-light: #ba6796;
$custom-dark: #000000;
JSON
{
  "hex": "#971b6c",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 320.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.17513,
    "h": 346.4
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#971B6C
secondary
#4CC175
accent
#EC793B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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