#971D6B#971D6B

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

Color values

HEX#971D6B
RGBrgb(151, 29, 107)
HSLhsl(322, 68%, 35%)
HSVhsv(322, 81%, 59%)
CMYKcmyk(0%, 80.8%, 29.1%, 40.8%)
CIE-LABlab(35.05, 55.22, -14.63)
CIE-LCHlch(35.05, 57.13, 345.16°)
OKLaboklab(46.3% 0.1683 -0.0387)
OKLCHoklch(46.3% 0.173 347.1)
XYZxyz(15.8565, 8.5214, 14.7168)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D6B #1D9749
analogous
#861D97 #971D6B #971D2E
triadic
#971D6B #6B971D #1D6B97
tetradic
#971D6B #97861D #1D9749 #1D2E97
square
#971D6B #97861D #1D9749 #1D2E97
split-complementary
#971D6B #2E971D #1D9786
monochromatic
#300922 #641347 #971D6B #CA278F #DE51AB

Accessibility & contrast

On white

7.77
#971D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#971D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D6B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D6B#FFFFFF#000000##FFFFFF
##971D6B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#A21842
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971d6b;
/* rgb */ color: rgb(151, 29, 107);
/* oklch */ color: oklch(46.3% 0.173 347.1);
Tailwind
colors: {
  custom: {
    50: '#ba6895',
    500: '#971d6b',
    950: '#000000',
  },
}
SCSS
$custom: #971d6b;
$custom-light: #ba6895;
$custom-dark: #000000;
JSON
{
  "hex": "#971d6b",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 321.639,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.463,
    "c": 0.17272,
    "h": 347.1
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#971D6B
secondary
#4FC078
accent
#EB7C3D
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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