#972070#972070

#972070 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 344.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#972070
RGBrgb(151, 32, 112)
HSLhsl(320, 65%, 36%)
HSVhsv(320, 79%, 59%)
CMYKcmyk(0%, 78.8%, 25.8%, 40.8%)
CIE-LABlab(35.56, 54.98, -17.00)
CIE-LCHlch(35.56, 57.55, 342.82°)
OKLaboklab(46.75% 0.1666 -0.0453)
OKLCHoklch(46.75% 0.173 344.8)
XYZxyz(16.2043, 8.7840, 16.1682)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972070 #209747
analogous
#822097 #972070 #972034
triadic
#972070 #709720 #207097
tetradic
#972070 #978220 #209747 #203497
square
#972070 #978220 #209747 #203497
split-complementary
#972070 #349720 #209782
monochromatic
#320B25 #64154B #972070 #C92B95 #DB56B0

Accessibility & contrast

On white

7.62
#972070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#972070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972070
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972070#FFFFFF#000000##FFFFFF
##9720701.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#545B6D
Tritanopia (blue-blind)
#A11E46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972070;
/* rgb */ color: rgb(151, 32, 112);
/* oklch */ color: oklch(46.7% 0.173 344.8);
Tailwind
colors: {
  custom: {
    50: '#ba6999',
    500: '#972070',
    950: '#000000',
  },
}
SCSS
$custom: #972070;
$custom-light: #ba6999;
$custom-dark: #000000;
JSON
{
  "hex": "#972070",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 319.664,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.17269,
    "h": 344.8
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#972070
secondary
#54BF77
accent
#E87740
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972070

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

Preview Lab → · Contrast checker → · Palette generator →

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