#972766#972766

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

Color values

HEX#972766
RGBrgb(151, 39, 102)
HSLhsl(326, 59%, 37%)
HSVhsv(326, 74%, 59%)
CMYKcmyk(0%, 74.2%, 32.5%, 40.8%)
CIE-LABlab(35.97, 51.43, -10.05)
CIE-LCHlch(35.97, 52.40, 348.95°)
OKLaboklab(46.91% 0.1572 -0.0261)
OKLCHoklch(46.91% 0.159 350.6)
XYZxyz(15.8872, 8.9915, 13.4667)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972766 #279758
analogous
#902797 #972766 #97272E
triadic
#972766 #669727 #276697
tetradic
#972766 #979027 #279758 #272E97
square
#972766 #979027 #279758 #272E97
split-complementary
#972766 #2E9727 #279790
monochromatic
#360E24 #661A45 #972766 #C83487 #D662A3

Accessibility & contrast

On white

7.51
#972766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972766
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972766#FFFFFF#000000##FFFFFF
##9727661.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#595C63
Tritanopia (blue-blind)
#A22043
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972766;
/* rgb */ color: rgb(151, 39, 102);
/* oklch */ color: oklch(46.9% 0.159 350.6);
Tailwind
colors: {
  custom: {
    50: '#ba6c91',
    500: '#972766',
    950: '#000000',
  },
}
SCSS
$custom: #972766;
$custom-light: #ba6c91;
$custom-dark: #000000;
JSON
{
  "hex": "#972766",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 326.25,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.15933,
    "h": 350.6
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#972766
secondary
#5EBC87
accent
#E28A46
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972766

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

Preview Lab → · Contrast checker → · Palette generator →

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