#97287F#97287F

#97287F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 338.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#97287F
RGBrgb(151, 40, 127)
HSLhsl(313, 58%, 37%)
HSVhsv(313, 74%, 59%)
CMYKcmyk(0%, 73.5%, 15.9%, 40.8%)
CIE-LABlab(37.17, 54.46, -23.91)
CIE-LCHlch(37.17, 59.48, 336.29°)
OKLaboklab(48.13% 0.1611 -0.0649)
OKLCHoklch(48.13% 0.174 338.1)
XYZxyz(17.3524, 9.6308, 21.0196)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287F #289740
analogous
#782897 #97287F #972848
triadic
#97287F #7F9728 #287F97
tetradic
#97287F #977828 #289740 #284897
square
#97287F #977828 #289740 #284897
split-complementary
#97287F #489728 #289778
monochromatic
#360E2E #671B56 #97287F #C735A8 #D664BD

Accessibility & contrast

On white

7.18
#97287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#97287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97287F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287F#FFFFFF#000000##FFFFFF
##97287F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9F2E50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287f;
/* rgb */ color: rgb(151, 40, 127);
/* oklch */ color: oklch(48.1% 0.174 338.1);
Tailwind
colors: {
  custom: {
    50: '#b96da4',
    500: '#97287f',
    950: '#000000',
  },
}
SCSS
$custom: #97287f;
$custom-light: #b96da4;
$custom-dark: #000000;
JSON
{
  "hex": "#97287f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 312.973,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.17364,
    "h": 338.1
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#97287F
secondary
#5FBC73
accent
#E16846
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97287F

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

Preview Lab → · Contrast checker → · Palette generator →

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