#972170#972170

#972170 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.172 H 344.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#972170
RGBrgb(151, 33, 112)
HSLhsl(320, 64%, 36%)
HSVhsv(320, 78%, 59%)
CMYKcmyk(0%, 78.1%, 25.8%, 40.8%)
CIE-LABlab(35.67, 54.68, -16.84)
CIE-LCHlch(35.67, 57.21, 342.88°)
OKLaboklab(46.82% 0.1657 -0.0448)
OKLCHoklch(46.82% 0.172 344.9)
XYZxyz(16.2317, 8.8387, 16.1773)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972170 #219748
analogous
#832197 #972170 #972135
triadic
#972170 #709721 #217097
tetradic
#972170 #978321 #219748 #213597
square
#972170 #978321 #219748 #213597
split-complementary
#972170 #359721 #219783
monochromatic
#330B25 #65164B #972170 #C92C95 #DA58AF

Accessibility & contrast

On white

7.59
#972170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#972170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972170
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972170#FFFFFF#000000##FFFFFF
##9721701.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972170;
/* rgb */ color: rgb(151, 33, 112);
/* oklch */ color: oklch(46.8% 0.172 344.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a99',
    500: '#972170',
    950: '#000000',
  },
}
SCSS
$custom: #972170;
$custom-light: #ba6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#972170",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 319.831,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46823,
    "c": 0.17166,
    "h": 344.9
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#972170
secondary
#55BE78
accent
#E77841
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972170

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

Preview Lab → · Contrast checker → · Palette generator →

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