#972179#972179

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

Color values

HEX#972179
RGBrgb(151, 33, 121)
HSLhsl(315, 64%, 36%)
HSVhsv(315, 78%, 59%)
CMYKcmyk(0%, 78.1%, 19.9%, 40.8%)
CIE-LABlab(36.08, 55.89, -21.87)
CIE-LCHlch(36.08, 60.02, 338.63°)
OKLaboklab(47.25% 0.1672 -0.059)
OKLCHoklch(47.25% 0.177 340.6)
XYZxyz(16.7581, 9.0492, 18.9496)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972179 #21973F
analogous
#7A2197 #972179 #97213E
triadic
#972179 #799721 #217997
tetradic
#972179 #977A21 #21973F #213E97
square
#972179 #977A21 #21973F #213E97
split-complementary
#972179 #3E9721 #21977A
monochromatic
#330B29 #651651 #972179 #C92CA1 #DA58B9

Accessibility & contrast

On white

7.47
#972179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#972179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972179
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972179#FFFFFF#000000##FFFFFF
##9721791.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#515C76
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972179;
/* rgb */ color: rgb(151, 33, 121);
/* oklch */ color: oklch(47.3% 0.177 340.6);
Tailwind
colors: {
  custom: {
    50: '#b96aa0',
    500: '#972179',
    950: '#000000',
  },
}
SCSS
$custom: #972179;
$custom-light: #b96aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#972179",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 315.254,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.17731,
    "h": 340.6
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#972179
secondary
#55BE70
accent
#E76B41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972179

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

Preview Lab → · Contrast checker → · Palette generator →

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