#98396C#98396C

#98396C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.3% C 0.139 H 350.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#98396C
RGBrgb(152, 57, 108)
HSLhsl(328, 45%, 41%)
HSVhsv(328, 63%, 60%)
CMYKcmyk(0%, 62.5%, 28.9%, 40.4%)
CIE-LABlab(39.05, 45.10, -9.17)
CIE-LCHlch(39.05, 46.02, 348.50°)
OKLaboklab(49.28% 0.1368 -0.0239)
OKLCHoklch(49.28% 0.139 350.1)
XYZxyz(17.1195, 10.6861, 15.3455)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98396C #399865
analogous
#943998 #98396C #98393C
triadic
#98396C #6C9839 #396C98
tetradic
#98396C #989439 #399865 #393C98
square
#98396C #989439 #399865 #393C98
split-complementary
#98396C #3C9839 #399894
monochromatic
#3F182D #6B284C #98396C #BE518B #CE7DA9

Accessibility & contrast

On white

6.69
#98396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#98396C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98396C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98396C#FFFFFF#000000##FFFFFF
##98396C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#A3354E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98396c;
/* rgb */ color: rgb(152, 57, 108);
/* oklch */ color: oklch(49.3% 0.139 350.1);
Tailwind
colors: {
  custom: {
    50: '#b97596',
    500: '#98396c',
    950: '#000000',
  },
}
SCSS
$custom: #98396c;
$custom-light: #b97596;
$custom-dark: #000000;
JSON
{
  "hex": "#98396c",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 327.789,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.13891,
    "h": 350.1
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#98396C
secondary
#75B894
accent
#D58F53
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12090D
muted
#817B7E

Preview Lab

Preview with #98396C

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

Preview Lab → · Contrast checker → · Palette generator →

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