#971D7D#971D7D

#971D7D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.184 H 338.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#971D7D
RGBrgb(151, 29, 125)
HSLhsl(313, 68%, 35%)
HSVhsv(313, 81%, 59%)
CMYKcmyk(0%, 80.8%, 17.2%, 40.8%)
CIE-LABlab(35.87, 57.61, -24.70)
CIE-LCHlch(35.87, 62.68, 336.79°)
OKLaboklab(47.16% 0.1712 -0.067)
OKLCHoklch(47.16% 0.184 338.6)
XYZxyz(16.9040, 8.9404, 20.2335)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D7D #1D9737
analogous
#741D97 #971D7D #971D40
triadic
#971D7D #7D971D #1D7D97
tetradic
#971D7D #97741D #1D9737 #1D4097
square
#971D7D #97741D #1D9737 #1D4097
split-complementary
#971D7D #40971D #1D9774
monochromatic
#300928 #641352 #971D7D #CA27A7 #DE51C0

Accessibility & contrast

On white

7.53
#971D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#971D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D7D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D7D#FFFFFF#000000##FFFFFF
##971D7D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#A0244C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971d7d;
/* rgb */ color: rgb(151, 29, 125);
/* oklch */ color: oklch(47.2% 0.184 338.6);
Tailwind
colors: {
  custom: {
    50: '#ba69a3',
    500: '#971d7d',
    950: '#000000',
  },
}
SCSS
$custom: #971d7d;
$custom-light: #ba69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#971d7d",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 312.787,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.18384,
    "h": 338.6
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#971D7D
secondary
#4FC067
accent
#EB623D
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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