#974F71#974F71

#974F71 is a mid, moderate pink. Relative luminance 0.134; OKLCH L 52.5% C 0.104 H 351.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#974F71
RGBrgb(151, 79, 113)
HSLhsl(332, 31%, 45%)
HSVhsv(332, 48%, 59%)
CMYKcmyk(0%, 47.7%, 25.2%, 40.8%)
CIE-LABlab(43.31, 34.33, -5.91)
CIE-LCHlch(43.31, 34.84, 350.24°)
OKLaboklab(52.49% 0.1033 -0.0152)
OKLCHoklch(52.49% 0.104 351.6)
XYZxyz(18.5396, 13.3650, 17.2228)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974F71 #4F9775
analogous
#974F95 #974F71 #97514F
triadic
#974F71 #71974F #4F7197
tetradic
#974F71 #95974F #4F9775 #514F97
square
#974F71 #95974F #4F9775 #514F97
split-complementary
#974F71 #4F9751 #4F9597
monochromatic
#472535 #6F3A53 #974F71 #B46F90 #C998AF

Accessibility & contrast

On white

5.72
#974F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#974F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974F71
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974F71#FFFFFF#000000##FFFFFF
##974F711.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F72
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#A04C5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #974f71;
/* rgb */ color: rgb(151, 79, 113);
/* oklch */ color: oklch(52.5% 0.104 351.6);
Tailwind
colors: {
  custom: {
    50: '#b78299',
    500: '#974f71',
    950: '#000000',
  },
}
SCSS
$custom: #974f71;
$custom-light: #b78299;
$custom-dark: #000000;
JSON
{
  "hex": "#974f71",
  "rgb": {
    "r": 151,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 331.667,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.10444,
    "h": 351.6
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#974F71
secondary
#8CB6A2
accent
#C79760
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #974F71

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

Preview Lab → · Contrast checker → · Palette generator →

#974F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva