#98297B#98297B

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

Color values

HEX#98297B
RGBrgb(152, 41, 123)
HSLhsl(316, 58%, 38%)
HSVhsv(316, 73%, 60%)
CMYKcmyk(0%, 73%, 19.1%, 40.4%)
CIE-LABlab(37.29, 53.78, -21.23)
CIE-LCHlch(37.29, 57.82, 338.45°)
OKLaboklab(48.19% 0.1604 -0.0572)
OKLCHoklch(48.19% 0.17 340.4)
XYZxyz(17.3175, 9.6930, 19.6940)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98297B #299846
analogous
#7E2998 #98297B #982943
triadic
#98297B #7B9829 #297B98
tetradic
#98297B #987E29 #299846 #294398
square
#98297B #987E29 #299846 #294398
split-complementary
#98297B #439829 #29987E
monochromatic
#380F2D #681C54 #98297B #C836A2 #D666B8

Accessibility & contrast

On white

7.15
#98297B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98297B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98297B#FFFFFF#000000##FFFFFF
##98297B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A12C4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98297b;
/* rgb */ color: rgb(152, 41, 123);
/* oklch */ color: oklch(48.2% 0.170 340.4);
Tailwind
colors: {
  custom: {
    50: '#ba6da1',
    500: '#98297b',
    950: '#000000',
  },
}
SCSS
$custom: #98297b;
$custom-light: #ba6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#98297b",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 315.676,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.17034,
    "h": 340.4
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#98297B
secondary
#61BC79
accent
#E16F47
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #98297B

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

Preview Lab → · Contrast checker → · Palette generator →

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