#972774#972774

#972774 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.167 H 343.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#972774
RGBrgb(151, 39, 116)
HSLhsl(319, 59%, 37%)
HSVhsv(319, 74%, 59%)
CMYKcmyk(0%, 74.2%, 23.2%, 40.8%)
CIE-LABlab(36.54, 53.24, -18.02)
CIE-LCHlch(36.54, 56.21, 341.30°)
OKLaboklab(47.51% 0.1604 -0.0482)
OKLCHoklch(47.51% 0.167 343.3)
XYZxyz(16.6410, 9.2930, 17.4370)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972774 #27974A
analogous
#822797 #972774 #97273C
triadic
#972774 #749727 #277497
tetradic
#972774 #978227 #27974A #273C97
square
#972774 #978227 #27974A #273C97
split-complementary
#972774 #3C9727 #279782
monochromatic
#360E29 #661A4F #972774 #C83499 #D662B2

Accessibility & contrast

On white

7.35
#972774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972774
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972774#FFFFFF#000000##FFFFFF
##9727741.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#555D71
Tritanopia (blue-blind)
#A1274A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972774;
/* rgb */ color: rgb(151, 39, 116);
/* oklch */ color: oklch(47.5% 0.167 343.3);
Tailwind
colors: {
  custom: {
    50: '#b96c9c',
    500: '#972774',
    950: '#000000',
  },
}
SCSS
$custom: #972774;
$custom-light: #b96c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#972774",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 318.75,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.16746,
    "h": 343.3
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#972774
secondary
#5EBC7B
accent
#E27746
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972774

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

Preview Lab → · Contrast checker → · Palette generator →

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