#98397B#98397B

#98397B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 49.9% C 0.148 H 341.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#98397B
RGBrgb(152, 57, 123)
HSLhsl(318, 45%, 41%)
HSVhsv(318, 63%, 60%)
CMYKcmyk(0%, 62.5%, 19.1%, 40.4%)
CIE-LABlab(39.64, 47.25, -17.61)
CIE-LCHlch(39.64, 50.43, 339.56°)
OKLaboklab(49.91% 0.1407 -0.0472)
OKLCHoklch(49.91% 0.148 341.5)
XYZxyz(17.9876, 11.0333, 19.9173)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98397B #399856
analogous
#853998 #98397B #98394B
triadic
#98397B #7B9839 #397B98
tetradic
#98397B #988539 #399856 #394B98
square
#98397B #988539 #399856 #394B98
split-complementary
#98397B #4B9839 #399885
monochromatic
#3F1833 #6B2857 #98397B #BE519C #CE7DB6

Accessibility & contrast

On white

6.55
#98397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#98397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98397B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98397B#FFFFFF#000000##FFFFFF
##98397B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#A13A55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98397b;
/* rgb */ color: rgb(152, 57, 123);
/* oklch */ color: oklch(49.9% 0.148 341.5);
Tailwind
colors: {
  custom: {
    50: '#b975a1',
    500: '#98397b',
    950: '#000000',
  },
}
SCSS
$custom: #98397b;
$custom-light: #b975a1;
$custom-dark: #000000;
JSON
{
  "hex": "#98397b",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 318.316,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.14841,
    "h": 341.5
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#98397B
secondary
#75B889
accent
#D57A53
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #98397B

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

Preview Lab → · Contrast checker → · Palette generator →

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