#972762#972762

#972762 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.157 H 352.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#972762
RGBrgb(151, 39, 98)
HSLhsl(328, 59%, 37%)
HSVhsv(328, 74%, 59%)
CMYKcmyk(0%, 74.2%, 35.1%, 40.8%)
CIE-LABlab(35.82, 50.95, -7.72)
CIE-LCHlch(35.82, 51.53, 351.38°)
OKLaboklab(46.75% 0.1561 -0.0198)
OKLCHoklch(46.75% 0.157 352.8)
XYZxyz(15.6936, 8.9140, 12.4470)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972762 #27975C
analogous
#942797 #972762 #97272A
triadic
#972762 #629727 #276297
tetradic
#972762 #979427 #27975C #272A97
square
#972762 #979427 #27975C #272A97
split-complementary
#972762 #2A9727 #279794
monochromatic
#360E23 #661A42 #972762 #C83482 #D6629F

Accessibility & contrast

On white

7.55
#972762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#972762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972762
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972762#FFFFFF#000000##FFFFFF
##9727621.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972762;
/* rgb */ color: rgb(151, 39, 98);
/* oklch */ color: oklch(46.7% 0.157 352.8);
Tailwind
colors: {
  custom: {
    50: '#ba6b8e',
    500: '#972762',
    950: '#000000',
  },
}
SCSS
$custom: #972762;
$custom-light: #ba6b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#972762",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 328.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.15732,
    "h": 352.8
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#972762
secondary
#5EBC8A
accent
#E29046
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972762

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

Preview Lab → · Contrast checker → · Palette generator →

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