#98297C#98297C

#98297C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 339.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#98297C
RGBrgb(152, 41, 124)
HSLhsl(315, 58%, 38%)
HSVhsv(315, 73%, 60%)
CMYKcmyk(0%, 73%, 18.4%, 40.4%)
CIE-LABlab(37.33, 53.92, -21.79)
CIE-LCHlch(37.33, 58.16, 338.00°)
OKLaboklab(48.24% 0.1606 -0.0588)
OKLCHoklch(48.24% 0.171 339.9)
XYZxyz(17.3804, 9.7182, 20.0253)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98297C #299845
analogous
#7C2998 #98297C #982944
triadic
#98297C #7C9829 #297C98
tetradic
#98297C #987C29 #299845 #294498
square
#98297C #987C29 #299845 #294498
split-complementary
#98297C #449829 #29987C
monochromatic
#380F2D #681C55 #98297C #C836A3 #D666B9

Accessibility & contrast

On white

7.13
#98297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#98297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98297C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98297C#FFFFFF#000000##FFFFFF
##98297C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A12D4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98297c;
/* rgb */ color: rgb(152, 41, 124);
/* oklch */ color: oklch(48.2% 0.171 339.9);
Tailwind
colors: {
  custom: {
    50: '#ba6da2',
    500: '#98297c',
    950: '#000000',
  },
}
SCSS
$custom: #98297c;
$custom-light: #ba6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#98297c",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 315.135,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.17102,
    "h": 339.9
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#98297C
secondary
#61BC78
accent
#E16E47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98297C

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

Preview Lab → · Contrast checker → · Palette generator →

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