#971F74#971F74

#971F74 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.176 H 342.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#971F74
RGBrgb(151, 31, 116)
HSLhsl(318, 66%, 36%)
HSVhsv(318, 79%, 59%)
CMYKcmyk(0%, 79.5%, 23.2%, 40.8%)
CIE-LABlab(35.64, 55.81, -19.41)
CIE-LCHlch(35.64, 59.09, 340.82°)
OKLaboklab(46.86% 0.1683 -0.052)
OKLCHoklch(46.86% 0.176 342.8)
XYZxyz(16.4055, 8.8220, 17.3585)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F74 #1F9742
analogous
#7E1F97 #971F74 #971F38
triadic
#971F74 #74971F #1F7497
tetradic
#971F74 #977E1F #1F9742 #1F3897
square
#971F74 #977E1F #1F9742 #1F3897
split-complementary
#971F74 #38971F #1F977E
monochromatic
#310A26 #64154D #971F74 #CA299B #DC54B4

Accessibility & contrast

On white

7.60
#971F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#971F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F74
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F74#FFFFFF#000000##FFFFFF
##971F741.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#A12048
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971f74;
/* rgb */ color: rgb(151, 31, 116);
/* oklch */ color: oklch(46.9% 0.176 342.8);
Tailwind
colors: {
  custom: {
    50: '#ba699c',
    500: '#971f74',
    950: '#000000',
  },
}
SCSS
$custom: #971f74;
$custom-light: #ba699c;
$custom-dark: #000000;
JSON
{
  "hex": "#971f74",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 317.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.17613,
    "h": 342.8
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#971F74
secondary
#52BF72
accent
#E9703F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971F74

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

Preview Lab → · Contrast checker → · Palette generator →

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