#971D5C#971D5C

#971D5C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.165 H 354.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#971D5C
RGBrgb(151, 29, 92)
HSLhsl(329, 68%, 35%)
HSVhsv(329, 81%, 59%)
CMYKcmyk(0%, 80.8%, 39.1%, 40.8%)
CIE-LABlab(34.46, 53.50, -5.90)
CIE-LCHlch(34.46, 53.82, 353.70°)
OKLaboklab(45.68% 0.1645 -0.0149)
OKLCHoklch(45.68% 0.165 354.8)
XYZxyz(15.1347, 8.2327, 10.9152)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D5C #1D9758
analogous
#951D97 #971D5C #971D1F
triadic
#971D5C #5C971D #1D5C97
tetradic
#971D5C #97951D #1D9758 #1D1F97
square
#971D5C #97951D #1D9758 #1D1F97
split-complementary
#971D5C #1F971D #1D9795
monochromatic
#30091D #64133D #971D5C #CA277B #DE519A

Accessibility & contrast

On white

7.94
#971D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D5C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D5C#FFFFFF#000000##FFFFFF
##971D5C1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435E
Deuteranopia (green-blind)
#595959
Tritanopia (blue-blind)
#A30A3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971d5c;
/* rgb */ color: rgb(151, 29, 92);
/* oklch */ color: oklch(45.7% 0.165 354.8);
Tailwind
colors: {
  custom: {
    50: '#ba678a',
    500: '#971d5c',
    950: '#000000',
  },
}
SCSS
$custom: #971d5c;
$custom-light: #ba678a;
$custom-dark: #000000;
JSON
{
  "hex": "#971d5c",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 329.016,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.16519,
    "h": 354.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#971D5C
secondary
#4FC086
accent
#EB913D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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