#98197C#98197C

#98197C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.187 H 339.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#98197C
RGBrgb(152, 25, 124)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 83.6%, 18.4%, 40.4%)
CIE-LABlab(35.65, 58.72, -24.40)
CIE-LCHlch(35.65, 63.59, 337.43°)
OKLaboklab(47.02% 0.1751 -0.0661)
OKLCHoklch(47.02% 0.187 339.3)
XYZxyz(16.9351, 8.8276, 19.8769)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98197C #199835
analogous
#741998 #98197C #98193D
triadic
#98197C #7C9819 #197C98
tetradic
#98197C #987419 #199835 #193D98
square
#98197C #987419 #199835 #193D98
split-complementary
#98197C #3D9819 #199874
monochromatic
#2F0826 #631051 #98197C #CD22A7 #E14AC0

Accessibility & contrast

On white

7.59
#98197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#98197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98197C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98197C#FFFFFF#000000##FFFFFF
##98197C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#A1204B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98197c;
/* rgb */ color: rgb(152, 25, 124);
/* oklch */ color: oklch(47.0% 0.187 339.3);
Tailwind
colors: {
  custom: {
    50: '#ba67a2',
    500: '#98197c',
    950: '#000000',
  },
}
SCSS
$custom: #98197c;
$custom-light: #ba67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98197c",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 313.228,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47023,
    "c": 0.18721,
    "h": 339.3
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#98197C
secondary
#4AC365
accent
#EE6139
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98197C

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

Preview Lab → · Contrast checker → · Palette generator →

#98197C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva