#98497D#98497D

#98497D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.2% C 0.124 H 342.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#98497D
RGBrgb(152, 73, 125)
HSLhsl(321, 35%, 44%)
HSVhsv(321, 52%, 60%)
CMYKcmyk(0%, 52%, 17.8%, 40.4%)
CIE-LABlab(42.65, 39.74, -14.24)
CIE-LCHlch(42.65, 42.21, 340.29°)
OKLaboklab(52.16% 0.1178 -0.0379)
OKLCHoklch(52.16% 0.124 342.1)
XYZxyz(19.0334, 12.9226, 20.8899)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98497D #499864
analogous
#8C4998 #98497D #984956
triadic
#98497D #7D9849 #497D98
tetradic
#98497D #988C49 #499864 #495698
square
#98497D #988C49 #499864 #495698
split-complementary
#98497D #569849 #49988C
monochromatic
#452139 #6F355B #98497D #B6689C #CA91B7

Accessibility & contrast

On white

5.86
#98497D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#98497D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98497D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98497D#FFFFFF#000000##FFFFFF
##98497D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#A04A5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #98497d;
/* rgb */ color: rgb(152, 73, 125);
/* oklch */ color: oklch(52.2% 0.124 342.1);
Tailwind
colors: {
  custom: {
    50: '#b87fa2',
    500: '#98497d',
    950: '#000000',
  },
}
SCSS
$custom: #98497d;
$custom-light: #b87fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#98497d",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 320.506,
    "s": 35.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.12372,
    "h": 342.1
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#98497D
secondary
#87B697
accent
#CB825D
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #98497D

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

Preview Lab → · Contrast checker → · Palette generator →

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