#97287C#97287C

#97287C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.172 H 339.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#97287C
RGBrgb(151, 40, 124)
HSLhsl(315, 58%, 37%)
HSVhsv(315, 74%, 59%)
CMYKcmyk(0%, 73.5%, 17.9%, 40.8%)
CIE-LABlab(37.03, 54.02, -22.27)
CIE-LCHlch(37.03, 58.43, 337.60°)
OKLaboklab(47.98% 0.1606 -0.0602)
OKLCHoklch(47.98% 0.172 339.5)
XYZxyz(17.1598, 9.5538, 20.0052)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287C #289743
analogous
#7B2897 #97287C #972844
triadic
#97287C #7C9728 #287C97
tetradic
#97287C #977B28 #289743 #284497
square
#97287C #977B28 #289743 #284497
split-complementary
#97287C #449728 #28977B
monochromatic
#360E2D #671B54 #97287C #C735A4 #D664BA

Accessibility & contrast

On white

7.22
#97287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97287C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287C#FFFFFF#000000##FFFFFF
##97287C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A02C4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287c;
/* rgb */ color: rgb(151, 40, 124);
/* oklch */ color: oklch(48.0% 0.172 339.5);
Tailwind
colors: {
  custom: {
    50: '#b96da2',
    500: '#97287c',
    950: '#000000',
  },
}
SCSS
$custom: #97287c;
$custom-light: #b96da2;
$custom-dark: #000000;
JSON
{
  "hex": "#97287c",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 314.595,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.17156,
    "h": 339.5
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#97287C
secondary
#5FBC76
accent
#E16C46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97287C

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

Preview Lab → · Contrast checker → · Palette generator →

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