#98396F#98396F

#98396F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.4% C 0.141 H 348.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#98396F
RGBrgb(152, 57, 111)
HSLhsl(326, 45%, 41%)
HSVhsv(326, 63%, 60%)
CMYKcmyk(0%, 62.5%, 27%, 40.4%)
CIE-LABlab(39.16, 45.51, -10.88)
CIE-LCHlch(39.16, 46.79, 346.56°)
OKLaboklab(49.4% 0.1377 -0.0285)
OKLCHoklch(49.4% 0.141 348.3)
XYZxyz(17.2819, 10.7510, 16.2009)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98396F #399862
analogous
#913998 #98396F #98393F
triadic
#98396F #6F9839 #396F98
tetradic
#98396F #989139 #399862 #393F98
square
#98396F #989139 #399862 #393F98
split-complementary
#98396F #3F9839 #399891
monochromatic
#3F182E #6B284E #98396F #BE518F #CE7DAB

Accessibility & contrast

On white

6.67
#98396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#98396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98396F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98396F#FFFFFF#000000##FFFFFF
##98396F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#A2364F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98396f;
/* rgb */ color: rgb(152, 57, 111);
/* oklch */ color: oklch(49.4% 0.141 348.3);
Tailwind
colors: {
  custom: {
    50: '#b97598',
    500: '#98396f',
    950: '#000000',
  },
}
SCSS
$custom: #98396f;
$custom-light: #b97598;
$custom-dark: #000000;
JSON
{
  "hex": "#98396f",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 325.895,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.14063,
    "h": 348.3
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#98396F
secondary
#75B892
accent
#D58B53
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090D
muted
#817B7E

Preview Lab

Preview with #98396F

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

Preview Lab → · Contrast checker → · Palette generator →

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