#972782#972782

#972782 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.177 H 336.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#972782
RGBrgb(151, 39, 130)
HSLhsl(311, 59%, 37%)
HSVhsv(311, 74%, 59%)
CMYKcmyk(0%, 74.2%, 13.9%, 40.8%)
CIE-LABlab(37.20, 55.25, -25.74)
CIE-LCHlch(37.20, 60.95, 335.02°)
OKLaboklab(48.2% 0.1625 -0.0701)
OKLCHoklch(48.2% 0.177 336.7)
XYZxyz(17.5176, 9.6437, 22.0536)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972782 #27973C
analogous
#742797 #972782 #97274A
triadic
#972782 #829727 #278297
tetradic
#972782 #977427 #27973C #274A97
square
#972782 #977427 #27973C #274A97
split-complementary
#972782 #4A9727 #279774
monochromatic
#360E2E #661A58 #972782 #C834AC #D662C1

Accessibility & contrast

On white

7.17
#972782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972782
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972782#FFFFFF#000000##FFFFFF
##9727821.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#505E7F
Tritanopia (blue-blind)
#9F2E52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972782;
/* rgb */ color: rgb(151, 39, 130);
/* oklch */ color: oklch(48.2% 0.177 336.7);
Tailwind
colors: {
  custom: {
    50: '#b96da6',
    500: '#972782',
    950: '#000000',
  },
}
SCSS
$custom: #972782;
$custom-light: #b96da6;
$custom-dark: #000000;
JSON
{
  "hex": "#972782",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 311.25,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.17693,
    "h": 336.7
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#972782
secondary
#5EBC6F
accent
#E26346
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #972782

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

Preview Lab → · Contrast checker → · Palette generator →

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