#971E7A#971E7A

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

Color values

HEX#971E7A
RGBrgb(151, 30, 122)
HSLhsl(314, 67%, 35%)
HSVhsv(314, 80%, 59%)
CMYKcmyk(0%, 80.1%, 19.2%, 40.8%)
CIE-LABlab(35.82, 56.91, -22.90)
CIE-LCHlch(35.82, 61.35, 338.08°)
OKLaboklab(47.08% 0.17 -0.0619)
OKLCHoklch(47.08% 0.181 340)
XYZxyz(16.7401, 8.9147, 19.2477)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E7A #1E973B
analogous
#771E97 #971E7A #971E3D
triadic
#971E7A #7A971E #1E7A97
tetradic
#971E7A #97771E #1E973B #1E3D97
square
#971E7A #97771E #1E973B #1E3D97
split-complementary
#971E7A #3D971E #1E9777
monochromatic
#310A27 #641451 #971E7A #CA28A3 #DD53BC

Accessibility & contrast

On white

7.55
#971E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E7A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E7A#FFFFFF#000000##FFFFFF
##971E7A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971e7a;
/* rgb */ color: rgb(151, 30, 122);
/* oklch */ color: oklch(47.1% 0.181 340.0);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#971e7a',
    950: '#000000',
  },
}
SCSS
$custom: #971e7a;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#971e7a",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 314.38,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47079,
    "c": 0.18093,
    "h": 340
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#971E7A
secondary
#51C06C
accent
#EA673E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #971E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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