#97287E#97287E

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

Color values

HEX#97287E
RGBrgb(151, 40, 126)
HSLhsl(314, 58%, 37%)
HSVhsv(314, 74%, 59%)
CMYKcmyk(0%, 73.5%, 16.6%, 40.8%)
CIE-LABlab(37.12, 54.31, -23.37)
CIE-LCHlch(37.12, 59.12, 336.72°)
OKLaboklab(48.08% 0.1609 -0.0633)
OKLCHoklch(48.08% 0.173 338.5)
XYZxyz(17.2876, 9.6049, 20.6781)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97287E #289741
analogous
#792897 #97287E #972846
triadic
#97287E #7E9728 #287E97
tetradic
#97287E #977928 #289741 #284697
square
#97287E #977928 #289741 #284697
split-complementary
#97287E #469728 #289779
monochromatic
#360E2D #671B56 #97287E #C735A6 #D664BC

Accessibility & contrast

On white

7.19
#97287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97287E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97287E#FFFFFF#000000##FFFFFF
##97287E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A02D50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97287e;
/* rgb */ color: rgb(151, 40, 126);
/* oklch */ color: oklch(48.1% 0.173 338.5);
Tailwind
colors: {
  custom: {
    50: '#b96da3',
    500: '#97287e',
    950: '#000000',
  },
}
SCSS
$custom: #97287e;
$custom-light: #b96da3;
$custom-dark: #000000;
JSON
{
  "hex": "#97287e",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 313.514,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.17294,
    "h": 338.5
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#97287E
secondary
#5FBC74
accent
#E16946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97287E

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

Preview Lab → · Contrast checker → · Palette generator →

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