#971E6B#971E6B

#971E6B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 347.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#971E6B
RGBrgb(151, 30, 107)
HSLhsl(322, 67%, 35%)
HSVhsv(322, 80%, 59%)
CMYKcmyk(0%, 80.1%, 29.1%, 40.8%)
CIE-LABlab(35.15, 54.94, -14.48)
CIE-LCHlch(35.15, 56.82, 345.24°)
OKLaboklab(46.37% 0.1675 -0.0383)
OKLCHoklch(46.37% 0.172 347.1)
XYZxyz(15.8814, 8.5712, 14.7251)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E6B #1E974A
analogous
#861E97 #971E6B #971E2E
triadic
#971E6B #6B971E #1E6B97
tetradic
#971E6B #97861E #1E974A #1E2E97
square
#971E6B #97861E #1E974A #1E2E97
split-complementary
#971E6B #2E971E #1E9786
monochromatic
#310A23 #641447 #971E6B #CA288F #DD53AB

Accessibility & contrast

On white

7.74
#971E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#971E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E6B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E6B#FFFFFF#000000##FFFFFF
##971E6B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456D
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#A21942
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971e6b;
/* rgb */ color: rgb(151, 30, 107);
/* oklch */ color: oklch(46.4% 0.172 347.1);
Tailwind
colors: {
  custom: {
    50: '#ba6895',
    500: '#971e6b',
    950: '#000000',
  },
}
SCSS
$custom: #971e6b;
$custom-light: #ba6895;
$custom-dark: #000000;
JSON
{
  "hex": "#971e6b",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 321.818,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.17178,
    "h": 347.1
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#971E6B
secondary
#51C079
accent
#EA7C3E
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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