#98397E#98397E

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

Color values

HEX#98397E
RGBrgb(152, 57, 126)
HSLhsl(316, 45%, 41%)
HSVhsv(316, 63%, 60%)
CMYKcmyk(0%, 62.5%, 17.1%, 40.4%)
CIE-LABlab(39.76, 47.71, -19.26)
CIE-LCHlch(39.76, 51.45, 338.01°)
OKLaboklab(50.04% 0.1414 -0.0518)
OKLCHoklch(50.04% 0.151 339.9)
XYZxyz(18.1783, 11.1096, 20.9216)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98397E #399853
analogous
#823998 #98397E #98394E
triadic
#98397E #7E9839 #397E98
tetradic
#98397E #988239 #399853 #394E98
square
#98397E #988239 #399853 #394E98
split-complementary
#98397E #4E9839 #399882
monochromatic
#3F1834 #6B2859 #98397E #BE51A0 #CE7DB8

Accessibility & contrast

On white

6.52
#98397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#98397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98397E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98397E#FFFFFF#000000##FFFFFF
##98397E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#A03B56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98397e;
/* rgb */ color: rgb(152, 57, 126);
/* oklch */ color: oklch(50.0% 0.151 339.9);
Tailwind
colors: {
  custom: {
    50: '#b975a3',
    500: '#98397e',
    950: '#000000',
  },
}
SCSS
$custom: #98397e;
$custom-light: #b975a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98397e",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 316.421,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.15056,
    "h": 339.9
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#98397E
secondary
#75B887
accent
#D57653
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #98397E

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

Preview Lab → · Contrast checker → · Palette generator →

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