#98396B#98396B

#98396B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.2% C 0.138 H 350.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#98396B
RGBrgb(152, 57, 107)
HSLhsl(328, 45%, 41%)
HSVhsv(328, 63%, 60%)
CMYKcmyk(0%, 62.5%, 29.6%, 40.4%)
CIE-LABlab(39.01, 44.97, -8.60)
CIE-LCHlch(39.01, 45.78, 349.17°)
OKLaboklab(49.24% 0.1365 -0.0223)
OKLCHoklch(49.24% 0.138 350.7)
XYZxyz(17.0666, 10.6649, 15.0668)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98396B #399866
analogous
#953998 #98396B #98393B
triadic
#98396B #6B9839 #396B98
tetradic
#98396B #989539 #399866 #393B98
square
#98396B #989539 #399866 #393B98
split-complementary
#98396B #3B9839 #399895
monochromatic
#3F182C #6B284C #98396B #BE518A #CE7DA8

Accessibility & contrast

On white

6.70
#98396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#98396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98396B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98396B#FFFFFF#000000##FFFFFF
##98396B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516D
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#A3354D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98396b;
/* rgb */ color: rgb(152, 57, 107);
/* oklch */ color: oklch(49.2% 0.138 350.7);
Tailwind
colors: {
  custom: {
    50: '#b97595',
    500: '#98396b',
    950: '#000000',
  },
}
SCSS
$custom: #98396b;
$custom-light: #b97595;
$custom-dark: #000000;
JSON
{
  "hex": "#98396b",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 328.421,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.13835,
    "h": 350.7
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#98396B
secondary
#75B895
accent
#D59053
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12090D
muted
#817B7E

Preview Lab

Preview with #98396B

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

Preview Lab → · Contrast checker → · Palette generator →

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