#972880#972880

#972880 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.174 H 337.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#972880
RGBrgb(151, 40, 128)
HSLhsl(312, 58%, 37%)
HSVhsv(312, 74%, 59%)
CMYKcmyk(0%, 73.5%, 15.2%, 40.8%)
CIE-LABlab(37.22, 54.61, -24.46)
CIE-LCHlch(37.22, 59.84, 335.87°)
OKLaboklab(48.18% 0.1612 -0.0664)
OKLCHoklch(48.18% 0.174 337.6)
XYZxyz(17.4179, 9.6570, 21.3645)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972880 #28973F
analogous
#762897 #972880 #972849
triadic
#972880 #809728 #288097
tetradic
#972880 #977628 #28973F #284997
square
#972880 #977628 #28973F #284997
split-complementary
#972880 #499728 #289776
monochromatic
#360E2E #671B57 #972880 #C735A9 #D664BE

Accessibility & contrast

On white

7.16
#972880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#972880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972880
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972880#FFFFFF#000000##FFFFFF
##9728801.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#9F2E51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972880;
/* rgb */ color: rgb(151, 40, 128);
/* oklch */ color: oklch(48.2% 0.174 337.6);
Tailwind
colors: {
  custom: {
    50: '#b96da5',
    500: '#972880',
    950: '#000000',
  },
}
SCSS
$custom: #972880;
$custom-light: #b96da5;
$custom-dark: #000000;
JSON
{
  "hex": "#972880",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 312.432,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.17435,
    "h": 337.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#972880
secondary
#5FBC72
accent
#E16746
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972880

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

Preview Lab → · Contrast checker → · Palette generator →

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