#971E7D#971E7D

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

Color values

HEX#971E7D
RGBrgb(151, 30, 125)
HSLhsl(313, 67%, 35%)
HSVhsv(313, 80%, 59%)
CMYKcmyk(0%, 80.1%, 17.2%, 40.8%)
CIE-LABlab(35.97, 57.33, -24.55)
CIE-LCHlch(35.97, 62.37, 336.82°)
OKLaboklab(47.23% 0.1704 -0.0666)
OKLCHoklch(47.23% 0.183 338.6)
XYZxyz(16.9289, 8.9902, 20.2418)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E7D #1E9738
analogous
#751E97 #971E7D #971E40
triadic
#971E7D #7D971E #1E7D97
tetradic
#971E7D #97751E #1E9738 #1E4097
square
#971E7D #97751E #1E9738 #1E4097
split-complementary
#971E7D #40971E #1E9775
monochromatic
#310A28 #641453 #971E7D #CA28A7 #DD53BF

Accessibility & contrast

On white

7.51
#971E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E7D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E7D#FFFFFF#000000##FFFFFF
##971E7D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#A0254C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971e7d;
/* rgb */ color: rgb(151, 30, 125);
/* oklch */ color: oklch(47.2% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#b969a3',
    500: '#971e7d',
    950: '#000000',
  },
}
SCSS
$custom: #971e7d;
$custom-light: #b969a3;
$custom-dark: #000000;
JSON
{
  "hex": "#971e7d",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 312.893,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.18292,
    "h": 338.6
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#971E7D
secondary
#51C069
accent
#EA633E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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