#971D6C#971D6C

#971D6C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.173 H 346.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#971D6C
RGBrgb(151, 29, 108)
HSLhsl(321, 68%, 35%)
HSVhsv(321, 81%, 59%)
CMYKcmyk(0%, 80.8%, 28.5%, 40.8%)
CIE-LABlab(35.09, 55.35, -15.20)
CIE-LCHlch(35.09, 57.40, 344.64°)
OKLaboklab(46.34% 0.1686 -0.0403)
OKLCHoklch(46.34% 0.173 346.6)
XYZxyz(15.9094, 8.5426, 14.9955)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D6C #1D9748
analogous
#851D97 #971D6C #971D2F
triadic
#971D6C #6C971D #1D6C97
tetradic
#971D6C #97851D #1D9748 #1D2F97
square
#971D6C #97851D #1D9748 #1D2F97
split-complementary
#971D6C #2F971D #1D9785
monochromatic
#300923 #641347 #971D6C #CA2791 #DE51AC

Accessibility & contrast

On white

7.75
#971D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D6C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D6C#FFFFFF#000000##FFFFFF
##971D6C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456E
Deuteranopia (green-blind)
#555A69
Tritanopia (blue-blind)
#A21843
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971d6c;
/* rgb */ color: rgb(151, 29, 108);
/* oklch */ color: oklch(46.3% 0.173 346.6);
Tailwind
colors: {
  custom: {
    50: '#ba6896',
    500: '#971d6c',
    950: '#000000',
  },
}
SCSS
$custom: #971d6c;
$custom-light: #ba6896;
$custom-dark: #000000;
JSON
{
  "hex": "#971d6c",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 321.148,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.17329,
    "h": 346.6
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#971D6C
secondary
#4FC077
accent
#EB7A3D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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