#972861#972861

#972861 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.156 H 353.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#972861
RGBrgb(151, 40, 97)
HSLhsl(329, 58%, 37%)
HSVhsv(329, 74%, 59%)
CMYKcmyk(0%, 73.5%, 35.8%, 40.8%)
CIE-LABlab(35.91, 50.47, -6.95)
CIE-LCHlch(35.91, 50.95, 352.16°)
OKLaboklab(46.8% 0.1546 -0.0177)
OKLCHoklch(46.8% 0.156 353.5)
XYZxyz(15.6799, 8.9618, 12.2110)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972861 #28975E
analogous
#952897 #972861 #97282A
triadic
#972861 #619728 #286197
tetradic
#972861 #979528 #28975E #282A97
square
#972861 #979528 #28975E #282A97
split-complementary
#972861 #2A9728 #289795
monochromatic
#360E23 #671B42 #972861 #C73580 #D6649E

Accessibility & contrast

On white

7.52
#972861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#972861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972861
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972861#FFFFFF#000000##FFFFFF
##9728611.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4863
Deuteranopia (green-blind)
#5B5C5E
Tritanopia (blue-blind)
#A31E41
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972861;
/* rgb */ color: rgb(151, 40, 97);
/* oklch */ color: oklch(46.8% 0.156 353.5);
Tailwind
colors: {
  custom: {
    50: '#ba6c8d',
    500: '#972861',
    950: '#000000',
  },
}
SCSS
$custom: #972861;
$custom-light: #ba6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#972861",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 329.189,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46803,
    "c": 0.15565,
    "h": 353.5
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#972861
secondary
#5FBC8C
accent
#E19246
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972861

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

Preview Lab → · Contrast checker → · Palette generator →

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