#97487C#97487C

#97487C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 51.8% C 0.124 H 342.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#97487C
RGBrgb(151, 72, 124)
HSLhsl(321, 35%, 44%)
HSVhsv(321, 52%, 59%)
CMYKcmyk(0%, 52.3%, 17.9%, 40.8%)
CIE-LABlab(42.26, 39.77, -14.22)
CIE-LCHlch(42.26, 42.24, 340.32°)
OKLaboklab(51.83% 0.1179 -0.0379)
OKLCHoklch(51.83% 0.124 342.2)
XYZxyz(18.7183, 12.6707, 20.5247)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97487C #489763
analogous
#8A4897 #97487C #974854
triadic
#97487C #7C9748 #487C97
tetradic
#97487C #978A48 #489763 #485497
square
#97487C #978A48 #489763 #485497
split-complementary
#97487C #549748 #48978A
monochromatic
#442038 #6E345A #97487C #B6669B #CA90B6

Accessibility & contrast

On white

5.94
#97487C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#97487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97487C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97487C#FFFFFF#000000##FFFFFF
##97487C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#63687A
Tritanopia (blue-blind)
#9F495C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #97487c;
/* rgb */ color: rgb(151, 72, 124);
/* oklch */ color: oklch(51.8% 0.124 342.2);
Tailwind
colors: {
  custom: {
    50: '#b87ea2',
    500: '#97487c',
    950: '#000000',
  },
}
SCSS
$custom: #97487c;
$custom-light: #b87ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#97487c",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 320.506,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.12383,
    "h": 342.2
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#97487C
secondary
#85B696
accent
#CB825C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #97487C

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

Preview Lab → · Contrast checker → · Palette generator →

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