#98397F#98397F

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

Color values

HEX#98397F
RGBrgb(152, 57, 127)
HSLhsl(316, 45%, 41%)
HSVhsv(316, 63%, 60%)
CMYKcmyk(0%, 62.5%, 16.4%, 40.4%)
CIE-LABlab(39.81, 47.87, -19.81)
CIE-LCHlch(39.81, 51.81, 337.51°)
OKLaboklab(50.09% 0.1416 -0.0534)
OKLCHoklch(50.09% 0.151 339.3)
XYZxyz(18.2431, 11.1355, 21.2631)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98397F #399852
analogous
#813998 #98397F #98394F
triadic
#98397F #7F9839 #397F98
tetradic
#98397F #988139 #399852 #394F98
square
#98397F #988139 #399852 #394F98
split-complementary
#98397F #4F9839 #399881
monochromatic
#3F1835 #6B285A #98397F #BE51A1 #CE7DB9

Accessibility & contrast

On white

6.51
#98397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#98397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98397F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98397F#FFFFFF#000000##FFFFFF
##98397F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#5A637D
Tritanopia (blue-blind)
#A03C57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98397f;
/* rgb */ color: rgb(152, 57, 127);
/* oklch */ color: oklch(50.1% 0.151 339.3);
Tailwind
colors: {
  custom: {
    50: '#b975a4',
    500: '#98397f',
    950: '#000000',
  },
}
SCSS
$custom: #98397f;
$custom-light: #b975a4;
$custom-dark: #000000;
JSON
{
  "hex": "#98397f",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 315.789,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.15129,
    "h": 339.3
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98397F

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

Preview Lab → · Contrast checker → · Palette generator →

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