#98237C#98237C

#98237C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.178 H 339.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#98237C
RGBrgb(152, 35, 124)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 77%, 60%)
CMYKcmyk(0%, 77%, 18.4%, 40.4%)
CIE-LABlab(36.62, 55.94, -22.89)
CIE-LCHlch(36.62, 60.44, 337.74°)
OKLaboklab(47.72% 0.1667 -0.0619)
OKLCHoklch(47.72% 0.178 339.6)
XYZxyz(17.1885, 9.3344, 19.9614)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237C #23983F
analogous
#7A2398 #98237C #982342
triadic
#98237C #7C9823 #237C98
tetradic
#98237C #987A23 #23983F #234298
square
#98237C #987A23 #23983F #234298
split-complementary
#98237C #429823 #23987A
monochromatic
#350C2B #661853 #98237C #CA2EA5 #D95CBB

Accessibility & contrast

On white

7.33
#98237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#98237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98237C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237C#FFFFFF#000000##FFFFFF
##98237C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237c;
/* rgb */ color: rgb(152, 35, 124);
/* oklch */ color: oklch(47.7% 0.178 339.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ba2',
    500: '#98237c',
    950: '#000000',
  },
}
SCSS
$custom: #98237c;
$custom-light: #ba6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#98237c",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 314.359,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.17782,
    "h": 339.6
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#98237C
secondary
#59BE71
accent
#E66942
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98237C

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

Preview Lab → · Contrast checker → · Palette generator →

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