#97517C#97517C

#97517C is a mid, moderate pink. Relative luminance 0.139; OKLCH L 53.2% C 0.108 H 343.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#97517C
RGBrgb(151, 81, 124)
HSLhsl(323, 30%, 45%)
HSVhsv(323, 46%, 59%)
CMYKcmyk(0%, 46.4%, 17.9%, 40.8%)
CIE-LABlab(44.12, 34.97, -11.41)
CIE-LCHlch(44.12, 36.78, 341.93°)
OKLaboklab(53.22% 0.1036 -0.0302)
OKLCHoklch(53.22% 0.108 343.7)
XYZxyz(19.3433, 13.9208, 20.7330)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97517C #51976C
analogous
#8F5197 #97517C #975159
triadic
#97517C #7C9751 #517C97
tetradic
#97517C #978F51 #51976C #515997
square
#97517C #978F51 #51976C #515997
split-complementary
#97517C #599751 #51978F
monochromatic
#47263B #6F3C5B #97517C #B3729A #C99AB7

Accessibility & contrast

On white

5.55
#97517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#97517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97517C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97517C#FFFFFF#000000##FFFFFF
##97517C1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617E
Deuteranopia (green-blind)
#686D7A
Tritanopia (blue-blind)
#9F5161
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #97517c;
/* rgb */ color: rgb(151, 81, 124);
/* oklch */ color: oklch(53.2% 0.108 343.7);
Tailwind
colors: {
  custom: {
    50: '#b784a2',
    500: '#97517c',
    950: '#000000',
  },
}
SCSS
$custom: #97517c;
$custom-light: #b784a2;
$custom-dark: #000000;
JSON
{
  "hex": "#97517c",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 323.143,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.10795,
    "h": 343.7
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#97517C
secondary
#8EB69D
accent
#C68861
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0F
muted
#807C7E

Preview Lab

Preview with #97517C

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

Preview Lab → · Contrast checker → · Palette generator →

#97517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva