#98396E#98396E

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

Color values

HEX#98396E
RGBrgb(152, 57, 110)
HSLhsl(327, 45%, 41%)
HSVhsv(327, 63%, 60%)
CMYKcmyk(0%, 62.5%, 27.6%, 40.4%)
CIE-LABlab(39.12, 45.37, -10.31)
CIE-LCHlch(39.12, 46.53, 347.20°)
OKLaboklab(49.36% 0.1374 -0.027)
OKLCHoklch(49.36% 0.14 348.9)
XYZxyz(17.2272, 10.7291, 15.9125)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98396E #399863
analogous
#923998 #98396E #98393E
triadic
#98396E #6E9839 #396E98
tetradic
#98396E #989239 #399863 #393E98
square
#98396E #989239 #399863 #393E98
split-complementary
#98396E #3E9839 #399892
monochromatic
#3F182E #6B284E #98396E #BE518D #CE7DAA

Accessibility & contrast

On white

6.68
#98396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98396E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98396E#FFFFFF#000000##FFFFFF
##98396E1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#A2364E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98396e;
/* rgb */ color: rgb(152, 57, 110);
/* oklch */ color: oklch(49.4% 0.140 348.9);
Tailwind
colors: {
  custom: {
    50: '#b97597',
    500: '#98396e',
    950: '#000000',
  },
}
SCSS
$custom: #98396e;
$custom-light: #b97597;
$custom-dark: #000000;
JSON
{
  "hex": "#98396e",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 326.526,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.14005,
    "h": 348.9
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#98396E
secondary
#75B893
accent
#D58C53
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090D
muted
#817B7E

Preview Lab

Preview with #98396E

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

Preview Lab → · Contrast checker → · Palette generator →

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