#971D5A#971D5A

#971D5A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 355.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#971D5A
RGBrgb(151, 29, 90)
HSLhsl(330, 68%, 35%)
HSVhsv(330, 81%, 59%)
CMYKcmyk(0%, 80.8%, 40.4%, 40.8%)
CIE-LABlab(34.39, 53.28, -4.72)
CIE-LCHlch(34.39, 53.49, 354.94°)
OKLaboklab(45.61% 0.1639 -0.0117)
OKLCHoklch(45.61% 0.164 355.9)
XYZxyz(15.0484, 8.1982, 10.4608)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D5A #1D975A
analogous
#971D97 #971D5A #971D1D
triadic
#971D5A #5A971D #1D5A97
tetradic
#971D5A #97971D #1D975A #1D1D97
square
#971D5A #97971D #1D975A #1D1D97
split-complementary
#971D5A #1D971D #1D9797
monochromatic
#30091D #64133B #971D5A #CA2779 #DE5197

Accessibility & contrast

On white

7.96
#971D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#971D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D5A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D5A#FFFFFF#000000##FFFFFF
##971D5A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38425B
Deuteranopia (green-blind)
#595957
Tritanopia (blue-blind)
#A40739
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971d5a;
/* rgb */ color: rgb(151, 29, 90);
/* oklch */ color: oklch(45.6% 0.164 355.9);
Tailwind
colors: {
  custom: {
    50: '#bb6788',
    500: '#971d5a',
    950: '#000000',
  },
}
SCSS
$custom: #971d5a;
$custom-light: #bb6788;
$custom-dark: #000000;
JSON
{
  "hex": "#971d5a",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 330,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.16434,
    "h": 355.9
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#971D5A
secondary
#4FC088
accent
#EB943D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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