#98387C#98387C

#98387C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 49.8% C 0.151 H 340.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#98387C
RGBrgb(152, 56, 124)
HSLhsl(318, 46%, 41%)
HSVhsv(318, 63%, 60%)
CMYKcmyk(0%, 63.2%, 18.4%, 40.4%)
CIE-LABlab(39.51, 47.86, -18.41)
CIE-LCHlch(39.51, 51.28, 338.95°)
OKLaboklab(49.83% 0.1423 -0.0494)
OKLCHoklch(49.83% 0.151 340.8)
XYZxyz(18.0016, 10.9606, 20.2324)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98387C #389854
analogous
#843898 #98387C #98384C
triadic
#98387C #7C9838 #387C98
tetradic
#98387C #988438 #389854 #384C98
square
#98387C #988438 #389854 #384C98
split-complementary
#98387C #4C9838 #389884
monochromatic
#3F1733 #6B2858 #98387C #BE4F9E #CF7CB6

Accessibility & contrast

On white

6.58
#98387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#98387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98387C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98387C#FFFFFF#000000##FFFFFF
##98387C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#A13A55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98387c;
/* rgb */ color: rgb(152, 56, 124);
/* oklch */ color: oklch(49.8% 0.151 340.8);
Tailwind
colors: {
  custom: {
    50: '#b975a2',
    500: '#98387c',
    950: '#000000',
  },
}
SCSS
$custom: #98387c;
$custom-light: #b975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98387c",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 317.5,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.15063,
    "h": 340.8
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#98387C
secondary
#74B888
accent
#D67852
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #98387C

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

Preview Lab → · Contrast checker → · Palette generator →

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