#972864#972864

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

Color values

HEX#972864
RGBrgb(151, 40, 100)
HSLhsl(328, 58%, 37%)
HSVhsv(328, 74%, 59%)
CMYKcmyk(0%, 73.5%, 33.8%, 40.8%)
CIE-LABlab(36.02, 50.83, -8.69)
CIE-LCHlch(36.02, 51.56, 350.29°)
OKLaboklab(46.92% 0.1555 -0.0225)
OKLCHoklch(46.92% 0.157 351.8)
XYZxyz(15.8224, 9.0188, 12.9617)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972864 #28975B
analogous
#932897 #972864 #97282C
triadic
#972864 #649728 #286497
tetradic
#972864 #979328 #28975B #282C97
square
#972864 #979328 #28975B #282C97
split-complementary
#972864 #2C9728 #289793
monochromatic
#360E24 #671B44 #972864 #C73584 #D664A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972864#FFFFFF#000000##FFFFFF
##9728641.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)
#3B4866
Deuteranopia (green-blind)
#5A5C61
Tritanopia (blue-blind)
#A32042
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972864;
/* rgb */ color: rgb(151, 40, 100);
/* oklch */ color: oklch(46.9% 0.157 351.8);
Tailwind
colors: {
  custom: {
    50: '#ba6c90',
    500: '#972864',
    950: '#000000',
  },
}
SCSS
$custom: #972864;
$custom-light: #ba6c90;
$custom-dark: #000000;
JSON
{
  "hex": "#972864",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 327.568,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.15711,
    "h": 351.8
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#972864
secondary
#5FBC8A
accent
#E18E46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972864

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

Preview Lab → · Contrast checker → · Palette generator →

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