#97487E#97487E

#97487E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 51.9% C 0.125 H 340.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#97487E
RGBrgb(151, 72, 126)
HSLhsl(319, 35%, 44%)
HSVhsv(319, 52%, 59%)
CMYKcmyk(0%, 52.3%, 16.6%, 40.8%)
CIE-LABlab(42.34, 40.09, -15.33)
CIE-LCHlch(42.34, 42.92, 339.08°)
OKLaboklab(51.92% 0.1184 -0.041)
OKLCHoklch(51.92% 0.125 340.9)
XYZxyz(18.8460, 12.7218, 21.1976)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97487E #489761
analogous
#884897 #97487E #974856
triadic
#97487E #7E9748 #487E97
tetradic
#97487E #978848 #489761 #485697
square
#97487E #978848 #489761 #485697
split-complementary
#97487E #569748 #489788
monochromatic
#442039 #6E345B #97487E #B6669D #CA90B7

Accessibility & contrast

On white

5.93
#97487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#97487E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97487E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97487E#FFFFFF#000000##FFFFFF
##97487E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#9F495D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #97487e;
/* rgb */ color: rgb(151, 72, 126);
/* oklch */ color: oklch(51.9% 0.125 340.9);
Tailwind
colors: {
  custom: {
    50: '#b87ea3',
    500: '#97487e',
    950: '#000000',
  },
}
SCSS
$custom: #97487e;
$custom-light: #b87ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#97487e",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 318.987,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.12532,
    "h": 340.9
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#97487E
secondary
#85B695
accent
#CB805C
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #97487E

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

Preview Lab → · Contrast checker → · Palette generator →

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