#972174#972174

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

Color values

HEX#972174
RGBrgb(151, 33, 116)
HSLhsl(318, 64%, 36%)
HSVhsv(318, 78%, 59%)
CMYKcmyk(0%, 78.1%, 23.2%, 40.8%)
CIE-LABlab(35.85, 55.21, -19.09)
CIE-LCHlch(35.85, 58.42, 340.93°)
OKLaboklab(47.01% 0.1664 -0.0512)
OKLCHoklch(47.01% 0.174 342.9)
XYZxyz(16.4594, 8.9297, 17.3764)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972174 #219744
analogous
#7F2197 #972174 #972139
triadic
#972174 #749721 #217497
tetradic
#972174 #977F21 #219744 #213997
square
#972174 #977F21 #219744 #213997
split-complementary
#972174 #399721 #21977F
monochromatic
#330B27 #65164D #972174 #C92C9B #DA58B4

Accessibility & contrast

On white

7.54
#972174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972174
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972174#FFFFFF#000000##FFFFFF
##9721741.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#A12248
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972174;
/* rgb */ color: rgb(151, 33, 116);
/* oklch */ color: oklch(47.0% 0.174 342.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a9c',
    500: '#972174',
    950: '#000000',
  },
}
SCSS
$custom: #972174;
$custom-light: #ba6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#972174",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 317.797,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47009,
    "c": 0.17411,
    "h": 342.9
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #972174

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

Preview Lab → · Contrast checker → · Palette generator →

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