#98517E#98517E

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

Color values

HEX#98517E
RGBrgb(152, 81, 126)
HSLhsl(322, 30%, 46%)
HSVhsv(322, 47%, 60%)
CMYKcmyk(0%, 46.7%, 17.1%, 40.4%)
CIE-LABlab(44.33, 35.64, -12.29)
CIE-LCHlch(44.33, 37.70, 340.97°)
OKLaboklab(53.43% 0.1054 -0.0326)
OKLCHoklch(53.43% 0.11 342.8)
XYZxyz(19.6575, 14.0680, 21.4147)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98517E #51986B
analogous
#8E5198 #98517E #98515A
triadic
#98517E #7E9851 #517E98
tetradic
#98517E #988E51 #51986B #515A98
square
#98517E #988E51 #51986B #515A98
split-complementary
#98517E #5A9851 #51988E
monochromatic
#48263C #703C5D #98517E #B4729C #C99AB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98517E#FFFFFF#000000##FFFFFF
##98517E1.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)
#556280
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#A05162
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #98517e;
/* rgb */ color: rgb(152, 81, 126);
/* oklch */ color: oklch(53.4% 0.110 342.8);
Tailwind
colors: {
  custom: {
    50: '#b884a3',
    500: '#98517e',
    950: '#000000',
  },
}
SCSS
$custom: #98517e;
$custom-light: #b884a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98517e",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 321.972,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.11035,
    "h": 342.8
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#98517E
secondary
#8FB69D
accent
#C78661
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #98517E

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

Preview Lab → · Contrast checker → · Palette generator →

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