#971F5B#971F5B

#971F5B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.163 H 355.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#971F5B
RGBrgb(151, 31, 91)
HSLhsl(330, 66%, 36%)
HSVhsv(330, 79%, 59%)
CMYKcmyk(0%, 79.5%, 39.7%, 40.8%)
CIE-LABlab(34.63, 52.80, -5.00)
CIE-LCHlch(34.63, 53.04, 354.59°)
OKLaboklab(45.8% 0.1624 -0.0125)
OKLCHoklch(45.8% 0.163 355.6)
XYZxyz(15.1419, 8.3165, 10.7034)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5B #1F975B
analogous
#971F97 #971F5B #971F1F
triadic
#971F5B #5B971F #1F5B97
tetradic
#971F5B #97971F #1F975B #1F1F97
square
#971F5B #97971F #1F975B #1F1F97
split-complementary
#971F5B #1F971F #1F9797
monochromatic
#310A1E #64153C #971F5B #CA297A #DC5498

Accessibility & contrast

On white

7.89
#971F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#971F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F5B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5B#FFFFFF#000000##FFFFFF
##971F5B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#5A5958
Tritanopia (blue-blind)
#A40D3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f5b;
/* rgb */ color: rgb(151, 31, 91);
/* oklch */ color: oklch(45.8% 0.163 355.6);
Tailwind
colors: {
  custom: {
    50: '#ba6889',
    500: '#971f5b',
    950: '#000000',
  },
}
SCSS
$custom: #971f5b;
$custom-light: #ba6889;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5b",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 330,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.16283,
    "h": 355.6
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#971F5B
secondary
#52BF89
accent
#E9943F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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