#972173#972173

#972173 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.173 H 343.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#972173
RGBrgb(151, 33, 115)
HSLhsl(318, 64%, 36%)
HSVhsv(318, 78%, 59%)
CMYKcmyk(0%, 78.1%, 23.8%, 40.8%)
CIE-LABlab(35.80, 55.08, -18.53)
CIE-LCHlch(35.80, 58.11, 341.41°)
OKLaboklab(46.96% 0.1663 -0.0496)
OKLCHoklch(46.96% 0.173 343.4)
XYZxyz(16.4015, 8.9066, 17.0717)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972173 #219745
analogous
#802197 #972173 #972138
triadic
#972173 #739721 #217397
tetradic
#972173 #978021 #219745 #213897
square
#972173 #978021 #219745 #213897
split-complementary
#972173 #389721 #219780
monochromatic
#330B26 #65164D #972173 #C92C99 #DA58B3

Accessibility & contrast

On white

7.55
#972173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#972173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972173
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972173#FFFFFF#000000##FFFFFF
##9721731.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#A12148
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972173;
/* rgb */ color: rgb(151, 33, 115);
/* oklch */ color: oklch(47.0% 0.173 343.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a9b',
    500: '#972173',
    950: '#000000',
  },
}
SCSS
$custom: #972173;
$custom-light: #ba6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#972173",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 318.305,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.17349,
    "h": 343.4
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#972173
secondary
#55BE75
accent
#E77341
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972173

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

Preview Lab → · Contrast checker → · Palette generator →

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