#97286B#97286B

#97286B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.161 H 348.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97286B
RGBrgb(151, 40, 107)
HSLhsl(324, 58%, 37%)
HSVhsv(324, 74%, 59%)
CMYKcmyk(0%, 73.5%, 29.1%, 40.8%)
CIE-LABlab(36.29, 51.69, -12.73)
CIE-LCHlch(36.29, 53.24, 346.17°)
OKLaboklab(47.21% 0.1573 -0.0335)
OKLCHoklch(47.21% 0.161 348)
XYZxyz(16.1759, 9.1602, 14.8233)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97286B #289754
analogous
#8C2897 #97286B #972833
triadic
#97286B #6B9728 #286B97
tetradic
#97286B #978C28 #289754 #283397
square
#97286B #978C28 #289754 #283397
split-complementary
#97286B #339728 #28978C
monochromatic
#360E26 #671B49 #97286B #C7358D #D664A9

Accessibility & contrast

On white

7.42
#97286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#97286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97286B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97286B#FFFFFF#000000##FFFFFF
##97286B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#585C68
Tritanopia (blue-blind)
#A22346
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97286b;
/* rgb */ color: rgb(151, 40, 107);
/* oklch */ color: oklch(47.2% 0.161 348.0);
Tailwind
colors: {
  custom: {
    50: '#b96c95',
    500: '#97286b',
    950: '#000000',
  },
}
SCSS
$custom: #97286b;
$custom-light: #b96c95;
$custom-dark: #000000;
JSON
{
  "hex": "#97286b",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 323.784,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.16086,
    "h": 348
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#97286B
secondary
#5FBC84
accent
#E18446
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97286B

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

Preview Lab → · Contrast checker → · Palette generator →

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