#971B5B#971B5B

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

Color values

HEX#971B5B
RGBrgb(151, 27, 91)
HSLhsl(329, 70%, 35%)
HSVhsv(329, 82%, 59%)
CMYKcmyk(0%, 82.1%, 39.7%, 40.8%)
CIE-LABlab(34.23, 53.95, -5.60)
CIE-LCHlch(34.23, 54.24, 354.07°)
OKLaboklab(45.51% 0.166 -0.0141)
OKLCHoklch(45.51% 0.167 355.1)
XYZxyz(15.0438, 8.1204, 10.6707)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5B #1B9757
analogous
#951B97 #971B5B #971B1D
triadic
#971B5B #5B971B #1B5B97
tetradic
#971B5B #97951B #1B9757 #1B1D97
square
#971B5B #97951B #1B9757 #1B1D97
split-complementary
#971B5B #1D971B #1B9795
monochromatic
#2F081C #63123C #971B5B #CB247A #DF4D99

Accessibility & contrast

On white

8.00
#971B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#971B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B5B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5B#FFFFFF#000000##FFFFFF
##971B5B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#595958
Tritanopia (blue-blind)
#A40539
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971b5b;
/* rgb */ color: rgb(151, 27, 91);
/* oklch */ color: oklch(45.5% 0.167 355.1);
Tailwind
colors: {
  custom: {
    50: '#bb6789',
    500: '#971b5b',
    950: '#000000',
  },
}
SCSS
$custom: #971b5b;
$custom-light: #bb6789;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5b",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 329.032,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.1666,
    "h": 355.1
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#971B5B
secondary
#4CC185
accent
#EC913B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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