#97407E#97407E

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

Color values

HEX#97407E
RGBrgb(151, 64, 126)
HSLhsl(317, 40%, 42%)
HSVhsv(317, 58%, 59%)
CMYKcmyk(0%, 57.6%, 16.6%, 40.8%)
CIE-LABlab(40.82, 44.12, -17.65)
CIE-LCHlch(40.82, 47.52, 338.20°)
OKLaboklab(50.79% 0.1304 -0.0474)
OKLCHoklch(50.79% 0.139 340)
XYZxyz(18.3621, 11.7539, 21.0363)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97407E #409759
analogous
#844097 #97407E #974053
triadic
#97407E #7E9740 #407E97
tetradic
#97407E #978440 #409759 #405397
square
#97407E #978440 #409759 #405397
split-complementary
#97407E #539740 #409784
monochromatic
#411C36 #6C2E5A #97407E #B95B9E #CC86B8

Accessibility & contrast

On white

6.27
#97407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97407E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97407E#FFFFFF#000000##FFFFFF
##97407E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445880
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#9F4259
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #97407e;
/* rgb */ color: rgb(151, 64, 126);
/* oklch */ color: oklch(50.8% 0.139 340.0);
Tailwind
colors: {
  custom: {
    50: '#b879a3',
    500: '#97407e',
    950: '#000000',
  },
}
SCSS
$custom: #97407e;
$custom-light: #b879a3;
$custom-dark: #000000;
JSON
{
  "hex": "#97407e",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 317.241,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.13876,
    "h": 340
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#97407E
secondary
#7DB68D
accent
#D07A57
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #97407E

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

Preview Lab → · Contrast checker → · Palette generator →

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