#971E7B#971E7B

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

Color values

HEX#971E7B
RGBrgb(151, 30, 123)
HSLhsl(314, 67%, 35%)
HSVhsv(314, 80%, 59%)
CMYKcmyk(0%, 80.1%, 18.5%, 40.8%)
CIE-LABlab(35.87, 57.05, -23.45)
CIE-LCHlch(35.87, 61.68, 337.65°)
OKLaboklab(47.13% 0.1701 -0.0635)
OKLCHoklch(47.13% 0.182 339.5)
XYZxyz(16.8024, 8.9396, 19.5757)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E7B #1E973A
analogous
#761E97 #971E7B #971E3F
triadic
#971E7B #7B971E #1E7B97
tetradic
#971E7B #97761E #1E973A #1E3F97
square
#971E7B #97761E #1E973A #1E3F97
split-complementary
#971E7B #3F971E #1E9776
monochromatic
#310A28 #641451 #971E7B #CA28A5 #DD53BD

Accessibility & contrast

On white

7.53
#971E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E7B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E7B#FFFFFF#000000##FFFFFF
##971E7B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971e7b;
/* rgb */ color: rgb(151, 30, 123);
/* oklch */ color: oklch(47.1% 0.182 339.5);
Tailwind
colors: {
  custom: {
    50: '#ba69a1',
    500: '#971e7b',
    950: '#000000',
  },
}
SCSS
$custom: #971e7b;
$custom-light: #ba69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#971e7b",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 313.884,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.18159,
    "h": 339.5
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#971E7B
secondary
#51C06B
accent
#EA663E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #971E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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