#971A77#971A77

#971A77 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.183 H 341.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#971A77
RGBrgb(151, 26, 119)
HSLhsl(315, 71%, 35%)
HSVhsv(315, 83%, 59%)
CMYKcmyk(0%, 82.8%, 21.2%, 40.8%)
CIE-LABlab(35.31, 57.57, -21.82)
CIE-LCHlch(35.31, 61.56, 339.24°)
OKLaboklab(46.66% 0.1729 -0.0588)
OKLCHoklch(46.66% 0.183 341.2)
XYZxyz(16.4622, 8.6518, 18.2522)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A77 #1A973A
analogous
#791A97 #971A77 #971A39
triadic
#971A77 #77971A #1A7797
tetradic
#971A77 #97791A #1A973A #1A3997
square
#971A77 #97791A #1A973A #1A3997
split-complementary
#971A77 #39971A #1A9779
monochromatic
#2F0825 #63114E #971A77 #CB23A0 #E04BBA

Accessibility & contrast

On white

7.69
#971A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A77
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A77#FFFFFF#000000##FFFFFF
##971A771.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#A11D48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971a77;
/* rgb */ color: rgb(151, 26, 119);
/* oklch */ color: oklch(46.7% 0.183 341.2);
Tailwind
colors: {
  custom: {
    50: '#ba679e',
    500: '#971a77',
    950: '#000000',
  },
}
SCSS
$custom: #971a77;
$custom-light: #ba679e;
$custom-dark: #000000;
JSON
{
  "hex": "#971a77",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 315.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.18261,
    "h": 341.2
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#971A77
secondary
#4BC269
accent
#ED683A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971A77

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

Preview Lab → · Contrast checker → · Palette generator →

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