#972866#972866

#972866 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 350.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#972866
RGBrgb(151, 40, 102)
HSLhsl(326, 58%, 37%)
HSVhsv(326, 74%, 59%)
CMYKcmyk(0%, 73.5%, 32.5%, 40.8%)
CIE-LABlab(36.10, 51.07, -9.85)
CIE-LCHlch(36.10, 52.01, 349.08°)
OKLaboklab(47% 0.156 -0.0256)
OKLCHoklch(47% 0.158 350.7)
XYZxyz(15.9204, 9.0580, 13.4778)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972866 #289759
analogous
#902897 #972866 #97282F
triadic
#972866 #669728 #286697
tetradic
#972866 #979028 #289759 #282F97
square
#972866 #979028 #289759 #282F97
split-complementary
#972866 #2F9728 #289790
monochromatic
#360E25 #671B45 #972866 #C73587 #D664A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972866#FFFFFF#000000##FFFFFF
##9728661.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)
#3A4868
Deuteranopia (green-blind)
#5A5C63
Tritanopia (blue-blind)
#A22143
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972866;
/* rgb */ color: rgb(151, 40, 102);
/* oklch */ color: oklch(47.0% 0.158 350.7);
Tailwind
colors: {
  custom: {
    50: '#ba6c91',
    500: '#972866',
    950: '#000000',
  },
}
SCSS
$custom: #972866;
$custom-light: #ba6c91;
$custom-dark: #000000;
JSON
{
  "hex": "#972866",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 326.486,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.15813,
    "h": 350.7
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#972866
secondary
#5FBC88
accent
#E18B46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972866

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

Preview Lab → · Contrast checker → · Palette generator →

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