#97397B#97397B

#97397B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.148 H 341.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#97397B
RGBrgb(151, 57, 123)
HSLhsl(318, 45%, 41%)
HSVhsv(318, 62%, 59%)
CMYKcmyk(0%, 62.3%, 18.5%, 40.8%)
CIE-LABlab(39.47, 46.96, -17.87)
CIE-LCHlch(39.47, 50.24, 339.16°)
OKLaboklab(49.76% 0.1396 -0.0479)
OKLCHoklch(49.76% 0.148 341.1)
XYZxyz(17.8012, 10.9372, 19.9086)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97397B #399755
analogous
#843997 #97397B #97394C
triadic
#97397B #7B9739 #397B97
tetradic
#97397B #978439 #399755 #394C97
square
#97397B #978439 #399755 #394C97
split-complementary
#97397B #4C9739 #399784
monochromatic
#3E1733 #6B2857 #97397B #BD509D #CE7DB6

Accessibility & contrast

On white

6.59
#97397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#97397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97397B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97397B#FFFFFF#000000##FFFFFF
##97397B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97397b;
/* rgb */ color: rgb(151, 57, 123);
/* oklch */ color: oklch(49.8% 0.148 341.1);
Tailwind
colors: {
  custom: {
    50: '#b875a1',
    500: '#97397b',
    950: '#000000',
  },
}
SCSS
$custom: #97397b;
$custom-light: #b875a1;
$custom-dark: #000000;
JSON
{
  "hex": "#97397b",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 317.872,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.14763,
    "h": 341.1
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97397B

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

Preview Lab → · Contrast checker → · Palette generator →

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