#971D5F#971D5F

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

Color values

HEX#971D5F
RGBrgb(151, 29, 95)
HSLhsl(328, 68%, 35%)
HSVhsv(328, 81%, 59%)
CMYKcmyk(0%, 80.8%, 37.1%, 40.8%)
CIE-LABlab(34.57, 53.82, -7.67)
CIE-LCHlch(34.57, 54.37, 351.89°)
OKLaboklab(45.8% 0.1654 -0.0196)
OKLCHoklch(45.8% 0.167 353.2)
XYZxyz(15.2684, 8.2862, 11.6196)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D5F #1D9755
analogous
#921D97 #971D5F #971D22
triadic
#971D5F #5F971D #1D5F97
tetradic
#971D5F #97921D #1D9755 #1D2297
square
#971D5F #97921D #1D9755 #1D2297
split-complementary
#971D5F #22971D #1D9792
monochromatic
#30091E #64133F #971D5F #CA277F #DE519D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971D5F#FFFFFF#000000##FFFFFF
##971D5F1.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)
#364361
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#A30D3C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971d5f;
/* rgb */ color: rgb(151, 29, 95);
/* oklch */ color: oklch(45.8% 0.167 353.2);
Tailwind
colors: {
  custom: {
    50: '#ba678c',
    500: '#971d5f',
    950: '#000000',
  },
}
SCSS
$custom: #971d5f;
$custom-light: #ba678c;
$custom-dark: #000000;
JSON
{
  "hex": "#971d5f",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 327.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.458,
    "c": 0.16654,
    "h": 353.2
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#971D5F
secondary
#4FC083
accent
#EB8D3D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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