#971A76#971A76

#971A76 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.182 H 341.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#971A76
RGBrgb(151, 26, 118)
HSLhsl(316, 71%, 35%)
HSVhsv(316, 83%, 59%)
CMYKcmyk(0%, 82.8%, 21.9%, 40.8%)
CIE-LABlab(35.26, 57.43, -21.26)
CIE-LCHlch(35.26, 61.24, 339.68°)
OKLaboklab(46.61% 0.1727 -0.0572)
OKLCHoklch(46.61% 0.182 341.7)
XYZxyz(16.4025, 8.6279, 17.9376)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A76 #1A973B
analogous
#7A1A97 #971A76 #971A38
triadic
#971A76 #76971A #1A7697
tetradic
#971A76 #977A1A #1A973B #1A3897
square
#971A76 #977A1A #1A973B #1A3897
split-complementary
#971A76 #38971A #1A977A
monochromatic
#2F0824 #63114D #971A76 #CB239F #E04BB9

Accessibility & contrast

On white

7.71
#971A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#971A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A76
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A76#FFFFFF#000000##FFFFFF
##971A761.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#515A73
Tritanopia (blue-blind)
#A11D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971a76;
/* rgb */ color: rgb(151, 26, 118);
/* oklch */ color: oklch(46.6% 0.182 341.7);
Tailwind
colors: {
  custom: {
    50: '#ba679d',
    500: '#971a76',
    950: '#000000',
  },
}
SCSS
$custom: #971a76;
$custom-light: #ba679d;
$custom-dark: #000000;
JSON
{
  "hex": "#971a76",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 315.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.18199,
    "h": 341.7
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#971A76
secondary
#4BC26A
accent
#ED6A3A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971A76

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

Preview Lab → · Contrast checker → · Palette generator →

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