#98287C#98287C

#98287C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 339.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#98287C
RGBrgb(152, 40, 124)
HSLhsl(315, 58%, 38%)
HSVhsv(315, 74%, 60%)
CMYKcmyk(0%, 73.7%, 18.4%, 40.4%)
CIE-LABlab(37.21, 54.27, -21.98)
CIE-LCHlch(37.21, 58.56, 337.95°)
OKLaboklab(48.15% 0.1617 -0.0594)
OKLCHoklch(48.15% 0.172 339.8)
XYZxyz(17.3462, 9.6499, 20.0139)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98287C #289844
analogous
#7C2898 #98287C #982844
triadic
#98287C #7C9828 #287C98
tetradic
#98287C #987C28 #289844 #284498
square
#98287C #987C28 #289844 #284498
split-complementary
#98287C #449828 #28987C
monochromatic
#370F2D #681B54 #98287C #C835A4 #D664BA

Accessibility & contrast

On white

7.17
#98287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#98287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98287C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98287C#FFFFFF#000000##FFFFFF
##98287C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A12C4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98287c;
/* rgb */ color: rgb(152, 40, 124);
/* oklch */ color: oklch(48.1% 0.172 339.8);
Tailwind
colors: {
  custom: {
    50: '#ba6da2',
    500: '#98287c',
    950: '#000000',
  },
}
SCSS
$custom: #98287c;
$custom-light: #ba6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#98287c",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 315,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48146,
    "c": 0.17221,
    "h": 339.8
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#98287C
secondary
#60BC77
accent
#E26D46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98287C

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

Preview Lab → · Contrast checker → · Palette generator →

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