#97407C#97407C

#97407C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.7% C 0.137 H 341.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#97407C
RGBrgb(151, 64, 124)
HSLhsl(319, 40%, 42%)
HSVhsv(319, 58%, 59%)
CMYKcmyk(0%, 57.6%, 17.9%, 40.8%)
CIE-LABlab(40.74, 43.80, -16.55)
CIE-LCHlch(40.74, 46.83, 339.31°)
OKLaboklab(50.7% 0.1299 -0.0443)
OKLCHoklch(50.7% 0.137 341.2)
XYZxyz(18.2343, 11.7028, 20.3634)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97407C #40975B
analogous
#874097 #97407C #974050
triadic
#97407C #7C9740 #407C97
tetradic
#97407C #978740 #40975B #405097
square
#97407C #978740 #40975B #405097
split-complementary
#97407C #509740 #409787
monochromatic
#411C35 #6C2E59 #97407C #B95B9C #CC86B6

Accessibility & contrast

On white

6.29
#97407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#97407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97407C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97407C#FFFFFF#000000##FFFFFF
##97407C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#9F4158
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #97407c;
/* rgb */ color: rgb(151, 64, 124);
/* oklch */ color: oklch(50.7% 0.137 341.2);
Tailwind
colors: {
  custom: {
    50: '#b879a2',
    500: '#97407c',
    950: '#000000',
  },
}
SCSS
$custom: #97407c;
$custom-light: #b879a2;
$custom-dark: #000000;
JSON
{
  "hex": "#97407c",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 318.621,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.13728,
    "h": 341.2
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#97407C
secondary
#7DB68E
accent
#D07D57
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #97407C

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

Preview Lab → · Contrast checker → · Palette generator →

#97407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva