#97487F#97487F

#97487F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.0% C 0.126 H 340.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#97487F
RGBrgb(151, 72, 127)
HSLhsl(318, 35%, 44%)
HSVhsv(318, 52%, 59%)
CMYKcmyk(0%, 52.3%, 15.9%, 40.8%)
CIE-LABlab(42.38, 40.25, -15.88)
CIE-LCHlch(42.38, 43.27, 338.47°)
OKLaboklab(51.96% 0.1187 -0.0425)
OKLCHoklch(51.96% 0.126 340.3)
XYZxyz(18.9109, 12.7478, 21.5391)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97487F #489760
analogous
#874897 #97487F #974857
triadic
#97487F #7F9748 #487F97
tetradic
#97487F #978748 #489760 #485797
square
#97487F #978748 #489760 #485797
split-complementary
#97487F #579748 #489787
monochromatic
#442039 #6E345C #97487F #B6669E #CA90B8

Accessibility & contrast

On white

5.92
#97487F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#97487F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97487F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97487F#FFFFFF#000000##FFFFFF
##97487F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#9F495E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #97487f;
/* rgb */ color: rgb(151, 72, 127);
/* oklch */ color: oklch(52.0% 0.126 340.3);
Tailwind
colors: {
  custom: {
    50: '#b87ea4',
    500: '#97487f',
    950: '#000000',
  },
}
SCSS
$custom: #97487f;
$custom-light: #b87ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#97487f",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 318.228,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.12607,
    "h": 340.3
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#97487F
secondary
#85B694
accent
#CB7E5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #97487F

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

Preview Lab → · Contrast checker → · Palette generator →

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