#971D74#971D74

#971D74 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.178 H 342.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#971D74
RGBrgb(151, 29, 116)
HSLhsl(317, 68%, 35%)
HSVhsv(317, 81%, 59%)
CMYKcmyk(0%, 80.8%, 23.2%, 40.8%)
CIE-LABlab(35.44, 56.37, -19.72)
CIE-LCHlch(35.44, 59.72, 340.72°)
OKLaboklab(46.71% 0.17 -0.0529)
OKLCHoklch(46.71% 0.178 342.7)
XYZxyz(16.3549, 8.7208, 17.3416)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D74 #1D9740
analogous
#7D1D97 #971D74 #971D37
triadic
#971D74 #74971D #1D7497
tetradic
#971D74 #977D1D #1D9740 #1D3797
square
#971D74 #977D1D #1D9740 #1D3797
split-complementary
#971D74 #37971D #1D977D
monochromatic
#300925 #64134D #971D74 #CA279B #DE51B5

Accessibility & contrast

On white

7.65
#971D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D74
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D74#FFFFFF#000000##FFFFFF
##971D741.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#A11E47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971d74;
/* rgb */ color: rgb(151, 29, 116);
/* oklch */ color: oklch(46.7% 0.178 342.7);
Tailwind
colors: {
  custom: {
    50: '#ba689c',
    500: '#971d74',
    950: '#000000',
  },
}
SCSS
$custom: #971d74;
$custom-light: #ba689c;
$custom-dark: #000000;
JSON
{
  "hex": "#971d74",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 317.213,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.17805,
    "h": 342.7
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#971D74
secondary
#4FC070
accent
#EB6F3D
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971D74

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

Preview Lab → · Contrast checker → · Palette generator →

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