#971F72#971F72

#971F72 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.175 H 343.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#971F72
RGBrgb(151, 31, 114)
HSLhsl(319, 66%, 36%)
HSVhsv(319, 79%, 59%)
CMYKcmyk(0%, 79.5%, 24.5%, 40.8%)
CIE-LABlab(35.55, 55.54, -18.29)
CIE-LCHlch(35.55, 58.48, 341.77°)
OKLaboklab(46.76% 0.1679 -0.0489)
OKLCHoklch(46.76% 0.175 343.8)
XYZxyz(16.2904, 8.7760, 16.7524)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F72 #1F9744
analogous
#801F97 #971F72 #971F36
triadic
#971F72 #72971F #1F7297
tetradic
#971F72 #97801F #1F9744 #1F3697
square
#971F72 #97801F #1F9744 #1F3697
split-complementary
#971F72 #36971F #1F9780
monochromatic
#310A25 #64154C #971F72 #CA2998 #DC54B2

Accessibility & contrast

On white

7.62
#971F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#971F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F72
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F72#FFFFFF#000000##FFFFFF
##971F721.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#535B6F
Tritanopia (blue-blind)
#A11E46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f72;
/* rgb */ color: rgb(151, 31, 114);
/* oklch */ color: oklch(46.8% 0.175 343.8);
Tailwind
colors: {
  custom: {
    50: '#ba699a',
    500: '#971f72',
    950: '#000000',
  },
}
SCSS
$custom: #971f72;
$custom-light: #ba699a;
$custom-dark: #000000;
JSON
{
  "hex": "#971f72",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 318.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.1749,
    "h": 343.8
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#971F72
secondary
#52BF74
accent
#E9733F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F72

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

Preview Lab → · Contrast checker → · Palette generator →

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