#971D7C#971D7C

#971D7C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 339.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#971D7C
RGBrgb(151, 29, 124)
HSLhsl(313, 68%, 35%)
HSVhsv(313, 81%, 59%)
CMYKcmyk(0%, 80.8%, 17.9%, 40.8%)
CIE-LABlab(35.82, 57.47, -24.15)
CIE-LCHlch(35.82, 62.34, 337.20°)
OKLaboklab(47.11% 0.1711 -0.0655)
OKLCHoklch(47.11% 0.183 339.1)
XYZxyz(16.8404, 8.9150, 19.8987)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D7C #1D9738
analogous
#751D97 #971D7C #971D3F
triadic
#971D7C #7C971D #1D7C97
tetradic
#971D7C #97751D #1D9738 #1D3F97
square
#971D7C #97751D #1D9738 #1D3F97
split-complementary
#971D7C #3F971D #1D9775
monochromatic
#300928 #641352 #971D7C #CA27A6 #DE51BE

Accessibility & contrast

On white

7.55
#971D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D7C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D7C#FFFFFF#000000##FFFFFF
##971D7C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971d7c;
/* rgb */ color: rgb(151, 29, 124);
/* oklch */ color: oklch(47.1% 0.183 339.1);
Tailwind
colors: {
  custom: {
    50: '#ba69a2',
    500: '#971d7c',
    950: '#000000',
  },
}
SCSS
$custom: #971d7c;
$custom-light: #ba69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#971d7c",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 313.279,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.18318,
    "h": 339.1
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#971D7C
secondary
#4FC068
accent
#EB643D
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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