#98397D#98397D

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

Color values

HEX#98397D
RGBrgb(152, 57, 125)
HSLhsl(317, 45%, 41%)
HSVhsv(317, 63%, 60%)
CMYKcmyk(0%, 62.5%, 17.8%, 40.4%)
CIE-LABlab(39.72, 47.56, -18.71)
CIE-LCHlch(39.72, 51.11, 338.52°)
OKLaboklab(50% 0.1412 -0.0503)
OKLCHoklch(50% 0.15 340.4)
XYZxyz(18.1141, 11.0839, 20.5835)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98397D #399854
analogous
#833998 #98397D #98394D
triadic
#98397D #7D9839 #397D98
tetradic
#98397D #988339 #399854 #394D98
square
#98397D #988339 #399854 #394D98
split-complementary
#98397D #4D9839 #399883
monochromatic
#3F1834 #6B2858 #98397D #BE519F #CE7DB7

Accessibility & contrast

On white

6.53
#98397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98397D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98397D#FFFFFF#000000##FFFFFF
##98397D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#5B637B
Tritanopia (blue-blind)
#A13B56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98397d;
/* rgb */ color: rgb(152, 57, 125);
/* oklch */ color: oklch(50.0% 0.150 340.4);
Tailwind
colors: {
  custom: {
    50: '#b975a2',
    500: '#98397d',
    950: '#000000',
  },
}
SCSS
$custom: #98397d;
$custom-light: #b975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98397d",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 317.053,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.14984,
    "h": 340.4
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#98397D
secondary
#75B888
accent
#D57853
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #98397D

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

Preview Lab → · Contrast checker → · Palette generator →

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