#97407F#97407F

#97407F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 50.8% C 0.140 H 339.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#97407F
RGBrgb(151, 64, 127)
HSLhsl(317, 40%, 42%)
HSVhsv(317, 58%, 59%)
CMYKcmyk(0%, 57.6%, 15.9%, 40.8%)
CIE-LABlab(40.86, 44.28, -18.20)
CIE-LCHlch(40.86, 47.88, 337.66°)
OKLaboklab(50.83% 0.1306 -0.0489)
OKLCHoklch(50.83% 0.14 339.5)
XYZxyz(18.4270, 11.7799, 21.3778)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97407F #409758
analogous
#844097 #97407F #974053
triadic
#97407F #7F9740 #407F97
tetradic
#97407F #978440 #409758 #405397
square
#97407F #978440 #409758 #405397
split-complementary
#97407F #539740 #409784
monochromatic
#411C37 #6C2E5B #97407F #B95B9F #CC86B8

Accessibility & contrast

On white

6.26
#97407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#97407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97407F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97407F#FFFFFF#000000##FFFFFF
##97407F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#5D657D
Tritanopia (blue-blind)
#9F425A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #97407f;
/* rgb */ color: rgb(151, 64, 127);
/* oklch */ color: oklch(50.8% 0.140 339.5);
Tailwind
colors: {
  custom: {
    50: '#b879a4',
    500: '#97407f',
    950: '#000000',
  },
}
SCSS
$custom: #97407f;
$custom-light: #b879a4;
$custom-dark: #000000;
JSON
{
  "hex": "#97407f",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 316.552,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50835,
    "c": 0.13951,
    "h": 339.5
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#97407F
secondary
#7DB68C
accent
#D07957
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #97407F

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

Preview Lab → · Contrast checker → · Palette generator →

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