#97407D#97407D

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

Color values

HEX#97407D
RGBrgb(151, 64, 125)
HSLhsl(318, 40%, 42%)
HSVhsv(318, 58%, 59%)
CMYKcmyk(0%, 57.6%, 17.2%, 40.8%)
CIE-LABlab(40.78, 43.96, -17.10)
CIE-LCHlch(40.78, 47.17, 338.75°)
OKLaboklab(50.75% 0.1302 -0.0458)
OKLCHoklch(50.75% 0.138 340.6)
XYZxyz(18.2979, 11.7283, 20.6981)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97407D #40975A
analogous
#864097 #97407D #974052
triadic
#97407D #7D9740 #407D97
tetradic
#97407D #978640 #40975A #405297
square
#97407D #978640 #40975A #405297
split-complementary
#97407D #529740 #409786
monochromatic
#411C36 #6C2E59 #97407D #B95B9D #CC86B7

Accessibility & contrast

On white

6.28
#97407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#97407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97407D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97407D#FFFFFF#000000##FFFFFF
##97407D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#5E657B
Tritanopia (blue-blind)
#9F4259
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #97407d;
/* rgb */ color: rgb(151, 64, 125);
/* oklch */ color: oklch(50.7% 0.138 340.6);
Tailwind
colors: {
  custom: {
    50: '#b879a2',
    500: '#97407d',
    950: '#000000',
  },
}
SCSS
$custom: #97407d;
$custom-light: #b879a2;
$custom-dark: #000000;
JSON
{
  "hex": "#97407d",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 317.931,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.13801,
    "h": 340.6
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#97407D
secondary
#7DB68E
accent
#D07C57
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #97407D

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

Preview Lab → · Contrast checker → · Palette generator →

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