#98517C#98517C

#98517C is a mid, moderate pink. Relative luminance 0.140; OKLCH L 53.4% C 0.109 H 344.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#98517C
RGBrgb(152, 81, 124)
HSLhsl(324, 30%, 46%)
HSVhsv(324, 47%, 60%)
CMYKcmyk(0%, 46.7%, 18.4%, 40.4%)
CIE-LABlab(44.26, 35.32, -11.19)
CIE-LCHlch(44.26, 37.05, 342.42°)
OKLaboklab(53.36% 0.1048 -0.0296)
OKLCHoklch(53.36% 0.109 344.2)
XYZxyz(19.5297, 14.0169, 20.7418)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98517C #51986D
analogous
#905198 #98517C #985158
triadic
#98517C #7C9851 #517C98
tetradic
#98517C #989051 #51986D #515898
square
#98517C #989051 #51986D #515898
split-complementary
#98517C #589851 #519890
monochromatic
#48263B #703C5B #98517C #B4729A #C99AB7

Accessibility & contrast

On white

5.52
#98517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#98517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98517C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98517C#FFFFFF#000000##FFFFFF
##98517C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617E
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#A05161
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #98517c;
/* rgb */ color: rgb(152, 81, 124);
/* oklch */ color: oklch(53.4% 0.109 344.2);
Tailwind
colors: {
  custom: {
    50: '#b884a2',
    500: '#98517c',
    950: '#000000',
  },
}
SCSS
$custom: #98517c;
$custom-light: #b884a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98517c",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 323.662,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.1089,
    "h": 344.2
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#98517C
secondary
#8FB69E
accent
#C78961
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0F
muted
#817C7E

Preview Lab

Preview with #98517C

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

Preview Lab → · Contrast checker → · Palette generator →

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