#98197D#98197D

#98197D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.188 H 338.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#98197D
RGBrgb(152, 25, 125)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 83.6%, 17.8%, 40.4%)
CIE-LABlab(35.70, 58.86, -24.95)
CIE-LCHlch(35.70, 63.93, 337.03°)
OKLaboklab(47.08% 0.1752 -0.0677)
OKLCHoklch(47.08% 0.188 338.9)
XYZxyz(16.9987, 8.8531, 20.2116)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98197D #199834
analogous
#741998 #98197D #98193E
triadic
#98197D #7D9819 #197D98
tetradic
#98197D #987419 #199834 #193E98
square
#98197D #987419 #199834 #193E98
split-complementary
#98197D #3E9819 #199874
monochromatic
#2F0827 #631052 #98197D #CD22A8 #E14AC1

Accessibility & contrast

On white

7.58
#98197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98197D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98197D#FFFFFF#000000##FFFFFF
##98197D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#4E5B7A
Tritanopia (blue-blind)
#A1204B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98197d;
/* rgb */ color: rgb(152, 25, 125);
/* oklch */ color: oklch(47.1% 0.188 338.9);
Tailwind
colors: {
  custom: {
    50: '#ba67a3',
    500: '#98197d',
    950: '#000000',
  },
}
SCSS
$custom: #98197d;
$custom-light: #ba67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98197d",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 312.756,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.18786,
    "h": 338.9
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#98197D
secondary
#4AC364
accent
#EE6039
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98197D

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

Preview Lab → · Contrast checker → · Palette generator →

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