#971F6E#971F6E

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

Color values

HEX#971F6E
RGBrgb(151, 31, 110)
HSLhsl(321, 66%, 36%)
HSVhsv(321, 79%, 59%)
CMYKcmyk(0%, 79.5%, 27.2%, 40.8%)
CIE-LABlab(35.37, 55.02, -16.03)
CIE-LCHlch(35.37, 57.31, 343.76°)
OKLaboklab(46.58% 0.1672 -0.0426)
OKLCHoklch(46.58% 0.173 345.7)
XYZxyz(16.0677, 8.6869, 15.5794)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F6E #1F9748
analogous
#841F97 #971F6E #971F32
triadic
#971F6E #6E971F #1F6E97
tetradic
#971F6E #97841F #1F9748 #1F3297
square
#971F6E #97841F #1F9748 #1F3297
split-complementary
#971F6E #32971F #1F9784
monochromatic
#310A24 #641549 #971F6E #CA2993 #DC54AE

Accessibility & contrast

On white

7.67
#971F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#971F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F6E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F6E#FFFFFF#000000##FFFFFF
##971F6E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#555A6B
Tritanopia (blue-blind)
#A21C44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971f6e;
/* rgb */ color: rgb(151, 31, 110);
/* oklch */ color: oklch(46.6% 0.173 345.7);
Tailwind
colors: {
  custom: {
    50: '#ba6997',
    500: '#971f6e',
    950: '#000000',
  },
}
SCSS
$custom: #971f6e;
$custom-light: #ba6997;
$custom-dark: #000000;
JSON
{
  "hex": "#971f6e",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 320.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46579,
    "c": 0.17251,
    "h": 345.7
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#971F6E
secondary
#52BF78
accent
#E9793F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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