#971A74#971A74

#971A74 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.181 H 342.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#971A74
RGBrgb(151, 26, 116)
HSLhsl(317, 71%, 35%)
HSVhsv(317, 83%, 59%)
CMYKcmyk(0%, 82.8%, 23.2%, 40.8%)
CIE-LABlab(35.16, 57.17, -20.15)
CIE-LCHlch(35.16, 60.62, 340.59°)
OKLaboklab(46.52% 0.1725 -0.0541)
OKLCHoklch(46.52% 0.181 342.6)
XYZxyz(16.2849, 8.5808, 17.3183)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A74 #1A973D
analogous
#7C1A97 #971A74 #971A36
triadic
#971A74 #74971A #1A7497
tetradic
#971A74 #977C1A #1A973D #1A3697
square
#971A74 #977C1A #1A973D #1A3697
split-complementary
#971A74 #36971A #1A977C
monochromatic
#2F0824 #63114C #971A74 #CB239C #E04BB6

Accessibility & contrast

On white

7.73
#971A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A74
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A74#FFFFFF#000000##FFFFFF
##971A741.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#A11B46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971a74;
/* rgb */ color: rgb(151, 26, 116);
/* oklch */ color: oklch(46.5% 0.181 342.6);
Tailwind
colors: {
  custom: {
    50: '#ba679c',
    500: '#971a74',
    950: '#000000',
  },
}
SCSS
$custom: #971a74;
$custom-light: #ba679c;
$custom-dark: #000000;
JSON
{
  "hex": "#971a74",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 316.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.18074,
    "h": 342.6
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#971A74
secondary
#4BC26C
accent
#ED6D3A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971A74

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

Preview Lab → · Contrast checker → · Palette generator →

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