#97397F#97397F

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

Color values

HEX#97397F
RGBrgb(151, 57, 127)
HSLhsl(315, 45%, 41%)
HSVhsv(315, 62%, 59%)
CMYKcmyk(0%, 62.3%, 15.9%, 40.8%)
CIE-LABlab(39.65, 47.58, -20.08)
CIE-LCHlch(39.65, 51.64, 337.12°)
OKLaboklab(49.94% 0.1405 -0.0541)
OKLCHoklch(49.94% 0.151 338.9)
XYZxyz(18.0567, 11.0394, 21.2544)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97397F #399751
analogous
#803997 #97397F #973950
triadic
#97397F #7F9739 #397F97
tetradic
#97397F #978039 #399751 #395097
square
#97397F #978039 #399751 #395097
split-complementary
#97397F #509739 #399780
monochromatic
#3E1734 #6B285A #97397F #BD50A1 #CE7DB9

Accessibility & contrast

On white

6.55
#97397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#97397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97397F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97397F#FFFFFF#000000##FFFFFF
##97397F1.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)
#3D5481
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#9F3C57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #97397f;
/* rgb */ color: rgb(151, 57, 127);
/* oklch */ color: oklch(49.9% 0.151 338.9);
Tailwind
colors: {
  custom: {
    50: '#b875a4',
    500: '#97397f',
    950: '#000000',
  },
}
SCSS
$custom: #97397f;
$custom-light: #b875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#97397f",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 315.319,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.15054,
    "h": 338.9
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#97397F
secondary
#75B786
accent
#D57453
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #97397F

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

Preview Lab → · Contrast checker → · Palette generator →

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