#972178#972178

#972178 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 341.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#972178
RGBrgb(151, 33, 120)
HSLhsl(316, 64%, 36%)
HSVhsv(316, 78%, 59%)
CMYKcmyk(0%, 78.1%, 20.5%, 40.8%)
CIE-LABlab(36.03, 55.75, -21.32)
CIE-LCHlch(36.03, 59.69, 339.08°)
OKLaboklab(47.2% 0.1671 -0.0574)
OKLCHoklch(47.2% 0.177 341)
XYZxyz(16.6971, 9.0248, 18.6283)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972178 #219740
analogous
#7B2197 #972178 #97213D
triadic
#972178 #789721 #217897
tetradic
#972178 #977B21 #219740 #213D97
square
#972178 #977B21 #219740 #213D97
split-complementary
#972178 #3D9721 #21977B
monochromatic
#330B28 #651650 #972178 #C92CA0 #DA58B8

Accessibility & contrast

On white

7.49
#972178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#972178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972178
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972178#FFFFFF#000000##FFFFFF
##9721781.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#525B75
Tritanopia (blue-blind)
#A0244A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972178;
/* rgb */ color: rgb(151, 33, 120);
/* oklch */ color: oklch(47.2% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#b96a9f',
    500: '#972178',
    950: '#000000',
  },
}
SCSS
$custom: #972178;
$custom-light: #b96a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#972178",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 315.763,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47201,
    "c": 0.17666,
    "h": 341
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#972178
secondary
#55BE71
accent
#E76C41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972178

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

Preview Lab → · Contrast checker → · Palette generator →

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