#972077#972077

#972077 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.177 H 341.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#972077
RGBrgb(151, 32, 119)
HSLhsl(316, 65%, 36%)
HSVhsv(316, 79%, 59%)
CMYKcmyk(0%, 78.8%, 21.2%, 40.8%)
CIE-LABlab(35.88, 55.92, -20.93)
CIE-LCHlch(35.88, 59.70, 339.48°)
OKLaboklab(47.08% 0.1678 -0.0563)
OKLCHoklch(47.08% 0.177 341.4)
XYZxyz(16.6093, 8.9460, 18.3012)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972077 #209740
analogous
#7B2097 #972077 #97203C
triadic
#972077 #779720 #207797
tetradic
#972077 #977B20 #209740 #203C97
square
#972077 #977B20 #209740 #203C97
split-complementary
#972077 #3C9720 #20977B
monochromatic
#320B27 #64154F #972077 #C92B9F #DB56B7

Accessibility & contrast

On white

7.53
#972077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#972077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972077
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972077#FFFFFF#000000##FFFFFF
##9720771.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#A12349
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972077;
/* rgb */ color: rgb(151, 32, 119);
/* oklch */ color: oklch(47.1% 0.177 341.4);
Tailwind
colors: {
  custom: {
    50: '#ba699e',
    500: '#972077',
    950: '#000000',
  },
}
SCSS
$custom: #972077;
$custom-light: #ba699e;
$custom-dark: #000000;
JSON
{
  "hex": "#972077",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 316.134,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.17703,
    "h": 341.4
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#972077
secondary
#54BF71
accent
#E86D40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972077

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

Preview Lab → · Contrast checker → · Palette generator →

#972077 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva