#971D72#971D72

#971D72 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.177 H 343.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#971D72
RGBrgb(151, 29, 114)
HSLhsl(318, 68%, 35%)
HSVhsv(318, 81%, 59%)
CMYKcmyk(0%, 80.8%, 24.5%, 40.8%)
CIE-LABlab(35.35, 56.11, -18.60)
CIE-LCHlch(35.35, 59.11, 341.66°)
OKLaboklab(46.62% 0.1697 -0.0497)
OKLCHoklch(46.62% 0.177 343.7)
XYZxyz(16.2398, 8.6747, 16.7355)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D72 #1D9742
analogous
#7F1D97 #971D72 #971D35
triadic
#971D72 #72971D #1D7297
tetradic
#971D72 #977F1D #1D9742 #1D3597
square
#971D72 #977F1D #1D9742 #1D3597
split-complementary
#971D72 #35971D #1D977F
monochromatic
#300924 #64134B #971D72 #CA2799 #DE51B3

Accessibility & contrast

On white

7.68
#971D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#971D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D72
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D72#FFFFFF#000000##FFFFFF
##971D721.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4674
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#A11D46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971d72;
/* rgb */ color: rgb(151, 29, 114);
/* oklch */ color: oklch(46.6% 0.177 343.7);
Tailwind
colors: {
  custom: {
    50: '#ba689a',
    500: '#971d72',
    950: '#000000',
  },
}
SCSS
$custom: #971d72;
$custom-light: #ba689a;
$custom-dark: #000000;
JSON
{
  "hex": "#971d72",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 318.197,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.17682,
    "h": 343.7
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#971D72
secondary
#4FC072
accent
#EB723D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971D72

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

Preview Lab → · Contrast checker → · Palette generator →

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