#971B5A#971B5A

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

Color values

HEX#971B5A
RGBrgb(151, 27, 90)
HSLhsl(330, 70%, 35%)
HSVhsv(330, 82%, 59%)
CMYKcmyk(0%, 82.1%, 40.4%, 40.8%)
CIE-LABlab(34.20, 53.84, -5.01)
CIE-LCHlch(34.20, 54.07, 354.69°)
OKLaboklab(45.47% 0.1657 -0.0125)
OKLCHoklch(45.47% 0.166 355.7)
XYZxyz(15.0010, 8.1033, 10.4450)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5A #1B9758
analogous
#961B97 #971B5A #971B1C
triadic
#971B5A #5A971B #1B5A97
tetradic
#971B5A #97961B #1B9758 #1B1C97
square
#971B5A #97961B #1B9758 #1B1C97
split-complementary
#971B5A #1C971B #1B9796
monochromatic
#2F081C #63123B #971B5A #CB2479 #DF4D97

Accessibility & contrast

On white

8.01
#971B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B5A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5A#FFFFFF#000000##FFFFFF
##971B5A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#595957
Tritanopia (blue-blind)
#A40338
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971b5a;
/* rgb */ color: rgb(151, 27, 90);
/* oklch */ color: oklch(45.5% 0.166 355.7);
Tailwind
colors: {
  custom: {
    50: '#bb6788',
    500: '#971b5a',
    950: '#000000',
  },
}
SCSS
$custom: #971b5a;
$custom-light: #bb6788;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5a",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 329.516,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.16617,
    "h": 355.7
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#971B5A
secondary
#4CC186
accent
#EC923B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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