#972172#972172

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

Color values

HEX#972172
RGBrgb(151, 33, 114)
HSLhsl(319, 64%, 36%)
HSVhsv(319, 78%, 59%)
CMYKcmyk(0%, 78.1%, 24.5%, 40.8%)
CIE-LABlab(35.76, 54.94, -17.97)
CIE-LCHlch(35.76, 57.81, 341.89°)
OKLaboklab(46.92% 0.1661 -0.048)
OKLCHoklch(46.92% 0.173 343.9)
XYZxyz(16.3443, 8.8837, 16.7703)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972172 #219746
analogous
#812197 #972172 #972137
triadic
#972172 #729721 #217297
tetradic
#972172 #978121 #219746 #213797
square
#972172 #978121 #219746 #213797
split-complementary
#972172 #379721 #219781
monochromatic
#330B26 #65164C #972172 #C92C98 #DA58B2

Accessibility & contrast

On white

7.56
#972172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972172
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972172#FFFFFF#000000##FFFFFF
##9721721.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4874
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#A12047
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972172;
/* rgb */ color: rgb(151, 33, 114);
/* oklch */ color: oklch(46.9% 0.173 343.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a9a',
    500: '#972172',
    950: '#000000',
  },
}
SCSS
$custom: #972172;
$custom-light: #ba6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972172",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 318.814,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.17287,
    "h": 343.9
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#972172
secondary
#55BE76
accent
#E77541
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972172

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

Preview Lab → · Contrast checker → · Palette generator →

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