#971C7B#971C7B

#971C7B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.183 H 339.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#971C7B
RGBrgb(151, 28, 123)
HSLhsl(314, 69%, 35%)
HSVhsv(314, 81%, 59%)
CMYKcmyk(0%, 81.5%, 18.5%, 40.8%)
CIE-LABlab(35.68, 57.60, -23.75)
CIE-LCHlch(35.68, 62.30, 337.59°)
OKLaboklab(46.99% 0.1718 -0.0643)
OKLCHoklch(46.99% 0.183 339.5)
XYZxyz(16.7534, 8.8416, 19.5593)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C7B #1C9738
analogous
#761C97 #971C7B #971C3D
triadic
#971C7B #7B971C #1C7B97
tetradic
#971C7B #97761C #1C9738 #1C3D97
square
#971C7B #97761C #1C9738 #1C3D97
split-complementary
#971C7B #3D971C #1C9776
monochromatic
#300927 #631251 #971C7B #CB26A5 #DE4FBE

Accessibility & contrast

On white

7.59
#971C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#971C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C7B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C7B#FFFFFF#000000##FFFFFF
##971C7B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487D
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#A0224B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971c7b;
/* rgb */ color: rgb(151, 28, 123);
/* oklch */ color: oklch(47.0% 0.183 339.5);
Tailwind
colors: {
  custom: {
    50: '#ba68a1',
    500: '#971c7b',
    950: '#000000',
  },
}
SCSS
$custom: #971c7b;
$custom-light: #ba68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#971c7b",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 313.659,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.18343,
    "h": 339.5
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#971C7B
secondary
#4EC168
accent
#EC643C
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #971C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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