#971F62#971F62

#971F62 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.166 H 351.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#971F62
RGBrgb(151, 31, 98)
HSLhsl(327, 66%, 36%)
HSVhsv(327, 79%, 59%)
CMYKcmyk(0%, 79.5%, 35.1%, 40.8%)
CIE-LABlab(34.89, 53.58, -9.12)
CIE-LCHlch(34.89, 54.35, 350.34°)
OKLaboklab(46.07% 0.1644 -0.0236)
OKLCHoklch(46.07% 0.166 351.8)
XYZxyz(15.4580, 8.4430, 12.3685)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F62 #1F9754
analogous
#901F97 #971F62 #971F26
triadic
#971F62 #62971F #1F6297
tetradic
#971F62 #97901F #1F9754 #1F2697
square
#971F62 #97901F #1F9754 #1F2697
split-complementary
#971F62 #26971F #1F9790
monochromatic
#310A20 #641541 #971F62 #CA2983 #DC54A0

Accessibility & contrast

On white

7.81
#971F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#971F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F62
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F62#FFFFFF#000000##FFFFFF
##971F621.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364464
Deuteranopia (green-blind)
#585A5F
Tritanopia (blue-blind)
#A3133E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971f62;
/* rgb */ color: rgb(151, 31, 98);
/* oklch */ color: oklch(46.1% 0.166 351.8);
Tailwind
colors: {
  custom: {
    50: '#ba688e',
    500: '#971f62',
    950: '#000000',
  },
}
SCSS
$custom: #971f62;
$custom-light: #ba688e;
$custom-dark: #000000;
JSON
{
  "hex": "#971f62",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 326.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.16604,
    "h": 351.8
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#971F62
secondary
#52BF83
accent
#E98A3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971F62

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

Preview Lab → · Contrast checker → · Palette generator →

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