#971D5E#971D5E

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

Color values

HEX#971D5E
RGBrgb(151, 29, 94)
HSLhsl(328, 68%, 35%)
HSVhsv(328, 81%, 59%)
CMYKcmyk(0%, 80.8%, 37.7%, 40.8%)
CIE-LABlab(34.54, 53.71, -7.08)
CIE-LCHlch(34.54, 54.18, 352.49°)
OKLaboklab(45.76% 0.1651 -0.0181)
OKLCHoklch(45.76% 0.166 353.8)
XYZxyz(15.2233, 8.2681, 11.3818)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D5E #1D9756
analogous
#931D97 #971D5E #971D21
triadic
#971D5E #5E971D #1D5E97
tetradic
#971D5E #97931D #1D9756 #1D2197
square
#971D5E #97931D #1D9756 #1D2197
split-complementary
#971D5E #21971D #1D9793
monochromatic
#30091E #64133E #971D5E #CA277E #DE519C

Accessibility & contrast

On white

7.91
#971D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#971D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D5E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D5E#FFFFFF#000000##FFFFFF
##971D5E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#A30C3B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971d5e;
/* rgb */ color: rgb(151, 29, 94);
/* oklch */ color: oklch(45.8% 0.166 353.8);
Tailwind
colors: {
  custom: {
    50: '#ba678b',
    500: '#971d5e',
    950: '#000000',
  },
}
SCSS
$custom: #971d5e;
$custom-light: #ba678b;
$custom-dark: #000000;
JSON
{
  "hex": "#971d5e",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 328.033,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.16608,
    "h": 353.8
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#971D5E
secondary
#4FC084
accent
#EB8E3D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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