#971E7C#971E7C

#971E7C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.182 H 339.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#971E7C
RGBrgb(151, 30, 124)
HSLhsl(313, 67%, 35%)
HSVhsv(313, 80%, 59%)
CMYKcmyk(0%, 80.1%, 17.9%, 40.8%)
CIE-LABlab(35.92, 57.19, -24.00)
CIE-LCHlch(35.92, 62.02, 337.23°)
OKLaboklab(47.18% 0.1703 -0.065)
OKLCHoklch(47.18% 0.182 339.1)
XYZxyz(16.8653, 8.9648, 19.9070)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E7C #1E9739
analogous
#751E97 #971E7C #971E40
triadic
#971E7C #7C971E #1E7C97
tetradic
#971E7C #97751E #1E9739 #1E4097
square
#971E7C #97751E #1E9739 #1E4097
split-complementary
#971E7C #40971E #1E9775
monochromatic
#310A28 #641452 #971E7C #CA28A6 #DD53BE

Accessibility & contrast

On white

7.52
#971E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E7C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E7C#FFFFFF#000000##FFFFFF
##971E7C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e7c;
/* rgb */ color: rgb(151, 30, 124);
/* oklch */ color: oklch(47.2% 0.182 339.1);
Tailwind
colors: {
  custom: {
    50: '#b969a2',
    500: '#971e7c',
    950: '#000000',
  },
}
SCSS
$custom: #971e7c;
$custom-light: #b969a2;
$custom-dark: #000000;
JSON
{
  "hex": "#971e7c",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 313.388,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.18225,
    "h": 339.1
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#971E7C
secondary
#51C06A
accent
#EA643E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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