#98287D#98287D

#98287D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.173 H 339.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#98287D
RGBrgb(152, 40, 125)
HSLhsl(314, 58%, 38%)
HSVhsv(314, 74%, 60%)
CMYKcmyk(0%, 73.7%, 17.8%, 40.4%)
CIE-LABlab(37.25, 54.42, -22.53)
CIE-LCHlch(37.25, 58.90, 337.51°)
OKLaboklab(48.2% 0.1618 -0.0609)
OKLCHoklch(48.2% 0.173 339.4)
XYZxyz(17.4098, 9.6753, 20.3487)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98287D #289843
analogous
#7B2898 #98287D #982845
triadic
#98287D #7D9828 #287D98
tetradic
#98287D #987B28 #289843 #284598
square
#98287D #987B28 #289843 #284598
split-complementary
#98287D #459828 #28987B
monochromatic
#370F2D #681B55 #98287D #C835A5 #D664BB

Accessibility & contrast

On white

7.16
#98287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98287D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98287D#FFFFFF#000000##FFFFFF
##98287D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A12C4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98287d;
/* rgb */ color: rgb(152, 40, 125);
/* oklch */ color: oklch(48.2% 0.173 339.4);
Tailwind
colors: {
  custom: {
    50: '#ba6da3',
    500: '#98287d',
    950: '#000000',
  },
}
SCSS
$custom: #98287d;
$custom-light: #ba6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#98287d",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 314.464,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.17289,
    "h": 339.4
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#98287D
secondary
#60BC76
accent
#E26C46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98287D

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

Preview Lab → · Contrast checker → · Palette generator →

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