#971B5C#971B5C

#971B5C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 354.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#971B5C
RGBrgb(151, 27, 92)
HSLhsl(329, 70%, 35%)
HSVhsv(329, 82%, 59%)
CMYKcmyk(0%, 82.1%, 39.1%, 40.8%)
CIE-LABlab(34.27, 54.05, -6.19)
CIE-LCHlch(34.27, 54.40, 353.46°)
OKLaboklab(45.54% 0.1663 -0.0157)
OKLCHoklch(45.54% 0.167 354.6)
XYZxyz(15.0872, 8.1378, 10.8994)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5C #1B9756
analogous
#941B97 #971B5C #971B1E
triadic
#971B5C #5C971B #1B5C97
tetradic
#971B5C #97941B #1B9756 #1B1E97
square
#971B5C #97941B #1B9756 #1B1E97
split-complementary
#971B5C #1E971B #1B9794
monochromatic
#2F081D #63123C #971B5C #CB247C #DF4D9A

Accessibility & contrast

On white

7.99
#971B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#971B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B5C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5C#FFFFFF#000000##FFFFFF
##971B5C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425E
Deuteranopia (green-blind)
#585959
Tritanopia (blue-blind)
#A30639
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971b5c;
/* rgb */ color: rgb(151, 27, 92);
/* oklch */ color: oklch(45.5% 0.167 354.6);
Tailwind
colors: {
  custom: {
    50: '#bb678a',
    500: '#971b5c',
    950: '#000000',
  },
}
SCSS
$custom: #971b5c;
$custom-light: #bb678a;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5c",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 328.548,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.16703,
    "h": 354.6
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#971B5C
secondary
#4CC184
accent
#EC903B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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