#97517D#97517D

#97517D is a mid, moderate pink. Relative luminance 0.139; OKLCH L 53.3% C 0.109 H 343.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#97517D
RGBrgb(151, 81, 125)
HSLhsl(322, 30%, 45%)
HSVhsv(322, 46%, 59%)
CMYKcmyk(0%, 46.4%, 17.2%, 40.8%)
CIE-LABlab(44.16, 35.13, -11.96)
CIE-LCHlch(44.16, 37.11, 341.20°)
OKLaboklab(53.26% 0.1039 -0.0317)
OKLCHoklch(53.26% 0.109 343)
XYZxyz(19.4069, 13.9462, 21.0678)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97517D #51976B
analogous
#8E5197 #97517D #97515A
triadic
#97517D #7D9751 #517D97
tetradic
#97517D #978E51 #51976B #515A97
square
#97517D #978E51 #51976B #515A97
split-complementary
#97517D #5A9751 #51978E
monochromatic
#47263B #6F3C5C #97517D #B3729B #C99AB7

Accessibility & contrast

On white

5.54
#97517D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#97517D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97517D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97517D#FFFFFF#000000##FFFFFF
##97517D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#9F5161
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #97517d;
/* rgb */ color: rgb(151, 81, 125);
/* oklch */ color: oklch(53.3% 0.109 343.0);
Tailwind
colors: {
  custom: {
    50: '#b784a2',
    500: '#97517d',
    950: '#000000',
  },
}
SCSS
$custom: #97517d;
$custom-light: #b784a2;
$custom-dark: #000000;
JSON
{
  "hex": "#97517d",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 322.286,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.10867,
    "h": 343
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#97517D
secondary
#8EB69D
accent
#C68761
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#110B0F
muted
#807C7F

Preview Lab

Preview with #97517D

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

Preview Lab → · Contrast checker → · Palette generator →

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