#971D62#971D62

#971D62 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.168 H 351.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#971D62
RGBrgb(151, 29, 98)
HSLhsl(326, 68%, 35%)
HSVhsv(326, 81%, 59%)
CMYKcmyk(0%, 80.8%, 35.1%, 40.8%)
CIE-LABlab(34.68, 54.16, -9.43)
CIE-LCHlch(34.68, 54.97, 350.12°)
OKLaboklab(45.92% 0.1662 -0.0244)
OKLCHoklch(45.92% 0.168 351.6)
XYZxyz(15.4074, 8.3418, 12.3517)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D62 #1D9752
analogous
#8F1D97 #971D62 #971D25
triadic
#971D62 #62971D #1D6297
tetradic
#971D62 #978F1D #1D9752 #1D2597
square
#971D62 #978F1D #1D9752 #1D2597
split-complementary
#971D62 #25971D #1D978F
monochromatic
#30091F #641341 #971D62 #CA2783 #DE51A0

Accessibility & contrast

On white

7.87
#971D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#971D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D62
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D62#FFFFFF#000000##FFFFFF
##971D621.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#57595F
Tritanopia (blue-blind)
#A3103D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971d62;
/* rgb */ color: rgb(151, 29, 98);
/* oklch */ color: oklch(45.9% 0.168 351.6);
Tailwind
colors: {
  custom: {
    50: '#ba688e',
    500: '#971d62',
    950: '#000000',
  },
}
SCSS
$custom: #971d62;
$custom-light: #ba688e;
$custom-dark: #000000;
JSON
{
  "hex": "#971d62",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 326.066,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.16798,
    "h": 351.6
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#971D62
secondary
#4FC080
accent
#EB893D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971D62

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

Preview Lab → · Contrast checker → · Palette generator →

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