#97287B#97287B

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

Color values

HEX#97287B
RGBrgb(151, 40, 123)
HSLhsl(315, 58%, 37%)
HSVhsv(315, 74%, 59%)
CMYKcmyk(0%, 73.5%, 18.5%, 40.8%)
CIE-LABlab(36.98, 53.87, -21.72)
CIE-LCHlch(36.98, 58.09, 338.04°)
OKLaboklab(47.94% 0.1605 -0.0586)
OKLCHoklch(47.94% 0.171 339.9)
XYZxyz(17.0969, 9.5286, 19.6738)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287B #289744
analogous
#7B2897 #97287B #972844
triadic
#97287B #7B9728 #287B97
tetradic
#97287B #977B28 #289744 #284497
square
#97287B #977B28 #289744 #284497
split-complementary
#97287B #449728 #28977B
monochromatic
#360E2C #671B54 #97287B #C735A2 #D664B9

Accessibility & contrast

On white

7.23
#97287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#97287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97287B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287B#FFFFFF#000000##FFFFFF
##97287B1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A02C4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287b;
/* rgb */ color: rgb(151, 40, 123);
/* oklch */ color: oklch(47.9% 0.171 339.9);
Tailwind
colors: {
  custom: {
    50: '#b96da1',
    500: '#97287b',
    950: '#000000',
  },
}
SCSS
$custom: #97287b;
$custom-light: #b96da1;
$custom-dark: #000000;
JSON
{
  "hex": "#97287b",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 315.135,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.17087,
    "h": 339.9
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#97287B
secondary
#5FBC77
accent
#E16E46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #97287B

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

Preview Lab → · Contrast checker → · Palette generator →

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