#972877#972877

#972877 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 341.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#972877
RGBrgb(151, 40, 119)
HSLhsl(317, 58%, 37%)
HSVhsv(317, 74%, 59%)
CMYKcmyk(0%, 73.5%, 21.2%, 40.8%)
CIE-LABlab(36.80, 53.30, -19.50)
CIE-LCHlch(36.80, 56.76, 339.90°)
OKLaboklab(47.74% 0.1599 -0.0524)
OKLCHoklch(47.74% 0.168 341.9)
XYZxyz(16.8516, 9.4305, 18.3820)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972877 #289748
analogous
#7F2897 #972877 #972840
triadic
#972877 #779728 #287797
tetradic
#972877 #977F28 #289748 #284097
square
#972877 #977F28 #289748 #284097
split-complementary
#972877 #409728 #28977F
monochromatic
#360E2B #671B51 #972877 #C7359D #D664B5

Accessibility & contrast

On white

7.28
#972877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#972877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972877
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972877#FFFFFF#000000##FFFFFF
##9728771.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#555D74
Tritanopia (blue-blind)
#A02A4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972877;
/* rgb */ color: rgb(151, 40, 119);
/* oklch */ color: oklch(47.7% 0.168 341.9);
Tailwind
colors: {
  custom: {
    50: '#b96d9e',
    500: '#972877',
    950: '#000000',
  },
}
SCSS
$custom: #972877;
$custom-light: #b96d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#972877",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 317.297,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.16821,
    "h": 341.9
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#972877
secondary
#5FBC7A
accent
#E17346
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972877

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

Preview Lab → · Contrast checker → · Palette generator →

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