#97287D#97287D

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

Color values

HEX#97287D
RGBrgb(151, 40, 125)
HSLhsl(314, 58%, 37%)
HSVhsv(314, 74%, 59%)
CMYKcmyk(0%, 73.5%, 17.2%, 40.8%)
CIE-LABlab(37.08, 54.16, -22.82)
CIE-LCHlch(37.08, 58.77, 337.15°)
OKLaboklab(48.03% 0.1608 -0.0617)
OKLCHoklch(48.03% 0.172 339)
XYZxyz(17.2234, 9.5792, 20.3400)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287D #289742
analogous
#792897 #97287D #972846
triadic
#97287D #7D9728 #287D97
tetradic
#97287D #977928 #289742 #284697
square
#97287D #977928 #289742 #284697
split-complementary
#97287D #469728 #289779
monochromatic
#360E2D #671B55 #97287D #C735A5 #D664BB

Accessibility & contrast

On white

7.20
#97287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#97287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97287D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287D#FFFFFF#000000##FFFFFF
##97287D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A02D4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287d;
/* rgb */ color: rgb(151, 40, 125);
/* oklch */ color: oklch(48.0% 0.172 339.0);
Tailwind
colors: {
  custom: {
    50: '#b96da3',
    500: '#97287d',
    950: '#000000',
  },
}
SCSS
$custom: #97287d;
$custom-light: #b96da3;
$custom-dark: #000000;
JSON
{
  "hex": "#97287d",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 314.054,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.17225,
    "h": 339
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#97287D
secondary
#5FBC75
accent
#E16B46
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97287D

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

Preview Lab → · Contrast checker → · Palette generator →

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