#972876#972876

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

Color values

HEX#972876
RGBrgb(151, 40, 118)
HSLhsl(318, 58%, 37%)
HSVhsv(318, 74%, 59%)
CMYKcmyk(0%, 73.5%, 21.9%, 40.8%)
CIE-LABlab(36.76, 53.16, -18.94)
CIE-LCHlch(36.76, 56.44, 340.39°)
OKLaboklab(47.7% 0.1597 -0.0508)
OKLCHoklch(47.7% 0.168 342.4)
XYZxyz(16.7919, 9.4066, 18.0674)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972876 #289749
analogous
#812897 #972876 #97283E
triadic
#972876 #769728 #287697
tetradic
#972876 #978128 #289749 #283E97
square
#972876 #978128 #289749 #283E97
split-complementary
#972876 #3E9728 #289781
monochromatic
#360E2A #671B50 #972876 #C7359C #D664B4

Accessibility & contrast

On white

7.29
#972876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#972876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972876
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972876#FFFFFF#000000##FFFFFF
##9728761.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A1294B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972876;
/* rgb */ color: rgb(151, 40, 118);
/* oklch */ color: oklch(47.7% 0.168 342.4);
Tailwind
colors: {
  custom: {
    50: '#b96d9d',
    500: '#972876',
    950: '#000000',
  },
}
SCSS
$custom: #972876;
$custom-light: #b96d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#972876",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 317.838,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.16756,
    "h": 342.4
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#972876
secondary
#5FBC7B
accent
#E17546
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #972876

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

Preview Lab → · Contrast checker → · Palette generator →

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