#97287A#97287A

#97287A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.170 H 340.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#97287A
RGBrgb(151, 40, 122)
HSLhsl(316, 58%, 37%)
HSVhsv(316, 74%, 59%)
CMYKcmyk(0%, 73.5%, 19.2%, 40.8%)
CIE-LABlab(36.94, 53.73, -21.17)
CIE-LCHlch(36.94, 57.75, 338.50°)
OKLaboklab(47.89% 0.1604 -0.0571)
OKLCHoklch(47.89% 0.17 340.4)
XYZxyz(17.0346, 9.5037, 19.3458)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287A #289745
analogous
#7D2897 #97287A #972842
triadic
#97287A #7A9728 #287A97
tetradic
#97287A #977D28 #289745 #284297
square
#97287A #977D28 #289745 #284297
split-complementary
#97287A #429728 #28977D
monochromatic
#360E2C #671B53 #97287A #C735A1 #D664B8

Accessibility & contrast

On white

7.24
#97287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#97287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97287A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287A#FFFFFF#000000##FFFFFF
##97287A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A02B4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287a;
/* rgb */ color: rgb(151, 40, 122);
/* oklch */ color: oklch(47.9% 0.170 340.4);
Tailwind
colors: {
  custom: {
    50: '#b96da0',
    500: '#97287a',
    950: '#000000',
  },
}
SCSS
$custom: #97287a;
$custom-light: #b96da0;
$custom-dark: #000000;
JSON
{
  "hex": "#97287a",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 315.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.1702,
    "h": 340.4
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#97287A
secondary
#5FBC77
accent
#E16F46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #97287A

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

Preview Lab → · Contrast checker → · Palette generator →

#97287A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva