#98187C#98187C

#98187C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 339.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#98187C
RGBrgb(152, 24, 124)
HSLhsl(313, 73%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 84.2%, 18.4%, 40.4%)
CIE-LABlab(35.57, 58.96, -24.53)
CIE-LCHlch(35.57, 63.86, 337.41°)
OKLaboklab(46.97% 0.1759 -0.0665)
OKLCHoklch(46.97% 0.188 339.3)
XYZxyz(16.9141, 8.7856, 19.8699)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98187C #189834
analogous
#741898 #98187C #98183C
triadic
#98187C #7C9818 #187C98
tetradic
#98187C #987418 #189834 #183C98
square
#98187C #987418 #189834 #183C98
split-complementary
#98187C #3C9818 #189874
monochromatic
#2E0726 #631051 #98187C #CD20A7 #E248C0

Accessibility & contrast

On white

7.62
#98187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#98187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98187C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98187C#FFFFFF#000000##FFFFFF
##98187C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#A11F4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98187c;
/* rgb */ color: rgb(152, 24, 124);
/* oklch */ color: oklch(47.0% 0.188 339.3);
Tailwind
colors: {
  custom: {
    50: '#ba67a2',
    500: '#98187c',
    950: '#000000',
  },
}
SCSS
$custom: #98187c;
$custom-light: #ba67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98187c",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 313.125,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.18801,
    "h": 339.3
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#98187C
secondary
#48C463
accent
#EF6038
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98187C

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

Preview Lab → · Contrast checker → · Palette generator →

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