#976171#976171

#976171 is a mid, moderate pink. Relative luminance 0.163; OKLCH L 55.6% C 0.073 H 0.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#976171
RGBrgb(151, 97, 113)
HSLhsl(342, 22%, 49%)
HSVhsv(342, 36%, 59%)
CMYKcmyk(0%, 35.8%, 25.2%, 40.8%)
CIE-LABlab(47.39, 24.23, 0.12)
CIE-LCHlch(47.39, 24.23, 0.27°)
OKLaboklab(55.59% 0.0731 0.0006)
OKLCHoklch(55.59% 0.073 0.5)
XYZxyz(20.0183, 16.3222, 17.7157)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976171 #619787
analogous
#97618C #976171 #976C61
triadic
#976171 #719761 #617197
tetradic
#976171 #8C9761 #619787 #6C6197
square
#976171 #8C9761 #619787 #6C6197
split-complementary
#976171 #61976C #618C97
monochromatic
#4C3139 #724955 #976171 #B08592 #C8AAB3

Accessibility & contrast

On white

4.92
#976171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#976171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #976171
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976171#FFFFFF#000000##FFFFFF
##9761711.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686B72
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#A05E67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #976171;
/* rgb */ color: rgb(151, 97, 113);
/* oklch */ color: oklch(55.6% 0.073 0.5);
Tailwind
colors: {
  custom: {
    50: '#b78e99',
    500: '#976171',
    950: '#000000',
  },
}
SCSS
$custom: #976171;
$custom-light: #b78e99;
$custom-dark: #000000;
JSON
{
  "hex": "#976171",
  "rgb": {
    "r": 151,
    "g": 97,
    "b": 113
  },
  "hsl": {
    "h": 342.222,
    "s": 21.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.07306,
    "h": 0.5
  },
  "luminance": 0.16321
}

Semantic roles & 50–950 ramp

primary
#976171
secondary
#9DB7AF
accent
#BEA569
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#110C0E
muted
#807D7E

Preview Lab

Preview with #976171

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

Preview Lab → · Contrast checker → · Palette generator →

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