#971F5A#971F5A

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

Color values

HEX#971F5A
RGBrgb(151, 31, 90)
HSLhsl(331, 66%, 36%)
HSVhsv(331, 79%, 59%)
CMYKcmyk(0%, 79.5%, 40.4%, 40.8%)
CIE-LABlab(34.60, 52.70, -4.41)
CIE-LCHlch(34.60, 52.88, 355.22°)
OKLaboklab(45.76% 0.162 -0.0109)
OKLCHoklch(45.76% 0.162 356.1)
XYZxyz(15.0990, 8.2994, 10.4777)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5A #1F975C
analogous
#971F96 #971F5A #97201F
triadic
#971F5A #5A971F #1F5A97
tetradic
#971F5A #96971F #1F975C #201F97
square
#971F5A #96971F #1F975C #201F97
split-complementary
#971F5A #1F9720 #1F9697
monochromatic
#310A1D #64153C #971F5A #CA2978 #DC5497

Accessibility & contrast

On white

7.90
#971F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F5A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5A#FFFFFF#000000##FFFFFF
##971F5A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#5A5957
Tritanopia (blue-blind)
#A40C3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f5a;
/* rgb */ color: rgb(151, 31, 90);
/* oklch */ color: oklch(45.8% 0.162 356.1);
Tailwind
colors: {
  custom: {
    50: '#ba6888',
    500: '#971f5a',
    950: '#000000',
  },
}
SCSS
$custom: #971f5a;
$custom-light: #ba6888;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5a",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 330.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.16241,
    "h": 356.1
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#971F5A
secondary
#52BF8A
accent
#E9953F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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