#98397C#98397C

#98397C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.0% C 0.149 H 340.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#98397C
RGBrgb(152, 57, 124)
HSLhsl(318, 45%, 41%)
HSVhsv(318, 63%, 60%)
CMYKcmyk(0%, 62.5%, 18.4%, 40.4%)
CIE-LABlab(39.68, 47.41, -18.16)
CIE-LCHlch(39.68, 50.76, 339.04°)
OKLaboklab(49.95% 0.1409 -0.0487)
OKLCHoklch(49.95% 0.149 340.9)
XYZxyz(18.0505, 11.0585, 20.2487)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98397C #399855
analogous
#843998 #98397C #98394C
triadic
#98397C #7C9839 #397C98
tetradic
#98397C #988439 #399855 #394C98
square
#98397C #988439 #399855 #394C98
split-complementary
#98397C #4C9839 #399884
monochromatic
#3F1833 #6B2858 #98397C #BE519D #CE7DB6

Accessibility & contrast

On white

6.54
#98397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#98397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98397C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98397C#FFFFFF#000000##FFFFFF
##98397C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#A13B55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98397c;
/* rgb */ color: rgb(152, 57, 124);
/* oklch */ color: oklch(50.0% 0.149 340.9);
Tailwind
colors: {
  custom: {
    50: '#b975a2',
    500: '#98397c',
    950: '#000000',
  },
}
SCSS
$custom: #98397c;
$custom-light: #b975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98397c",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 317.684,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.14912,
    "h": 340.9
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#98397C
secondary
#75B889
accent
#D57953
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #98397C

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

Preview Lab → · Contrast checker → · Palette generator →

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