#971D7E#971D7E

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

Color values

HEX#971D7E
RGBrgb(151, 29, 126)
HSLhsl(312, 68%, 35%)
HSVhsv(312, 81%, 59%)
CMYKcmyk(0%, 80.8%, 16.6%, 40.8%)
CIE-LABlab(35.92, 57.75, -25.25)
CIE-LCHlch(35.92, 63.03, 336.39°)
OKLaboklab(47.21% 0.1713 -0.0686)
OKLCHoklch(47.21% 0.185 338.2)
XYZxyz(16.9682, 8.9661, 20.5716)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D7E #1D9736
analogous
#731D97 #971D7E #971D41
triadic
#971D7E #7E971D #1D7E97
tetradic
#971D7E #97731D #1D9736 #1D4197
square
#971D7E #97731D #1D9736 #1D4197
split-complementary
#971D7E #41971D #1D9773
monochromatic
#300928 #641353 #971D7E #CA27A9 #DE51C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971D7E#FFFFFF#000000##FFFFFF
##971D7E1.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)
#244981
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971d7e;
/* rgb */ color: rgb(151, 29, 126);
/* oklch */ color: oklch(47.2% 0.185 338.2);
Tailwind
colors: {
  custom: {
    50: '#b969a3',
    500: '#971d7e',
    950: '#000000',
  },
}
SCSS
$custom: #971d7e;
$custom-light: #b969a3;
$custom-dark: #000000;
JSON
{
  "hex": "#971d7e",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 312.295,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47214,
    "c": 0.18451,
    "h": 338.2
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#971D7E
secondary
#4FC067
accent
#EB613D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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