#98517A#98517A

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

Color values

HEX#98517A
RGBrgb(152, 81, 122)
HSLhsl(325, 30%, 46%)
HSVhsv(325, 47%, 60%)
CMYKcmyk(0%, 46.7%, 19.7%, 40.4%)
CIE-LABlab(44.19, 34.99, -10.08)
CIE-LCHlch(44.19, 36.42, 343.93°)
OKLaboklab(53.28% 0.1042 -0.0266)
OKLCHoklch(53.28% 0.108 345.7)
XYZxyz(19.4045, 13.9668, 20.0824)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98517A #51986F
analogous
#925198 #98517A #985156
triadic
#98517A #7A9851 #517A98
tetradic
#98517A #989251 #51986F #515698
square
#98517A #989251 #51986F #515698
split-complementary
#98517A #569851 #519892
monochromatic
#48263A #703C5A #98517A #B47298 #C99AB5

Accessibility & contrast

On white

5.54
#98517A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#98517A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98517A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98517A#FFFFFF#000000##FFFFFF
##98517A1.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)
#57617B
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#A05060
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #98517a;
/* rgb */ color: rgb(152, 81, 122);
/* oklch */ color: oklch(53.3% 0.108 345.7);
Tailwind
colors: {
  custom: {
    50: '#b884a0',
    500: '#98517a',
    950: '#000000',
  },
}
SCSS
$custom: #98517a;
$custom-light: #b884a0;
$custom-dark: #000000;
JSON
{
  "hex": "#98517a",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 325.352,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.10751,
    "h": 345.7
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#98517A
secondary
#8FB69F
accent
#C78C61
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E

Preview Lab

Preview with #98517A

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

Preview Lab → · Contrast checker → · Palette generator →

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