#972771#972771

#972771 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.166 H 344.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#972771
RGBrgb(151, 39, 113)
HSLhsl(320, 59%, 37%)
HSVhsv(320, 74%, 59%)
CMYKcmyk(0%, 74.2%, 25.2%, 40.8%)
CIE-LABlab(36.41, 52.83, -16.33)
CIE-LCHlch(36.41, 55.30, 342.82°)
OKLaboklab(47.38% 0.1598 -0.0435)
OKLCHoklch(47.38% 0.166 344.8)
XYZxyz(16.4693, 9.2243, 16.5327)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972771 #27974D
analogous
#852797 #972771 #972739
triadic
#972771 #719727 #277197
tetradic
#972771 #978527 #27974D #273997
square
#972771 #978527 #27974D #273997
split-complementary
#972771 #399727 #279785
monochromatic
#360E28 #661A4D #972771 #C83495 #D662AF

Accessibility & contrast

On white

7.38
#972771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#972771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972771
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972771#FFFFFF#000000##FFFFFF
##9727711.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A73
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A12648
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972771;
/* rgb */ color: rgb(151, 39, 113);
/* oklch */ color: oklch(47.4% 0.166 344.8);
Tailwind
colors: {
  custom: {
    50: '#b96c9a',
    500: '#972771',
    950: '#000000',
  },
}
SCSS
$custom: #972771;
$custom-light: #b96c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972771",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 320.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47375,
    "c": 0.16559,
    "h": 344.8
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#972771
secondary
#5EBC7E
accent
#E27B46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972771

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

Preview Lab → · Contrast checker → · Palette generator →

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