#98517B#98517B

#98517B is a mid, moderate pink. Relative luminance 0.140; OKLCH L 53.3% C 0.108 H 345.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#98517B
RGBrgb(152, 81, 123)
HSLhsl(325, 30%, 46%)
HSVhsv(325, 47%, 60%)
CMYKcmyk(0%, 46.7%, 19.1%, 40.4%)
CIE-LABlab(44.22, 35.16, -10.63)
CIE-LCHlch(44.22, 36.73, 343.17°)
OKLaboklab(53.32% 0.1045 -0.0281)
OKLCHoklch(53.32% 0.108 345)
XYZxyz(19.4668, 13.9917, 20.4104)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98517B #51986E
analogous
#915198 #98517B #985157
triadic
#98517B #7B9851 #517B98
tetradic
#98517B #989151 #51986E #515798
square
#98517B #989151 #51986E #515798
split-complementary
#98517B #579851 #519891
monochromatic
#48263A #703C5B #98517B #B47299 #C99AB6

Accessibility & contrast

On white

5.53
#98517B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98517B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98517B#FFFFFF#000000##FFFFFF
##98517B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#A05061
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #98517b;
/* rgb */ color: rgb(152, 81, 123);
/* oklch */ color: oklch(53.3% 0.108 345.0);
Tailwind
colors: {
  custom: {
    50: '#b884a1',
    500: '#98517b',
    950: '#000000',
  },
}
SCSS
$custom: #98517b;
$custom-light: #b884a1;
$custom-dark: #000000;
JSON
{
  "hex": "#98517b",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 324.507,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.1082,
    "h": 345
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#98517B
secondary
#8FB69F
accent
#C78B61
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0F
muted
#817C7E

Preview Lab

Preview with #98517B

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

Preview Lab → · Contrast checker → · Palette generator →

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