#98517D#98517D

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

Color values

HEX#98517D
RGBrgb(152, 81, 125)
HSLhsl(323, 30%, 46%)
HSVhsv(323, 47%, 60%)
CMYKcmyk(0%, 46.7%, 17.8%, 40.4%)
CIE-LABlab(44.29, 35.48, -11.74)
CIE-LCHlch(44.29, 37.37, 341.69°)
OKLaboklab(53.4% 0.1051 -0.0311)
OKLCHoklch(53.4% 0.11 343.5)
XYZxyz(19.5933, 14.0423, 21.0765)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98517D #51986C
analogous
#8F5198 #98517D #985159
triadic
#98517D #7D9851 #517D98
tetradic
#98517D #988F51 #51986C #515998
square
#98517D #988F51 #51986C #515998
split-complementary
#98517D #599851 #51988F
monochromatic
#48263B #703C5C #98517D #B4729B #C99AB7

Accessibility & contrast

On white

5.51
#98517D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#98517D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98517D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98517D#FFFFFF#000000##FFFFFF
##98517D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627F
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#A05161
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #98517d;
/* rgb */ color: rgb(152, 81, 125);
/* oklch */ color: oklch(53.4% 0.110 343.5);
Tailwind
colors: {
  custom: {
    50: '#b884a2',
    500: '#98517d',
    950: '#000000',
  },
}
SCSS
$custom: #98517d;
$custom-light: #b884a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98517d",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 322.817,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.10962,
    "h": 343.5
  },
  "luminance": 0.14041
}

Semantic roles & 50–950 ramp

primary
#98517D
secondary
#8FB69E
accent
#C78861
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #98517D

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

Preview Lab → · Contrast checker → · Palette generator →

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