#97286C#97286C

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

Color values

HEX#97286C
RGBrgb(151, 40, 108)
HSLhsl(323, 58%, 37%)
HSVhsv(323, 74%, 59%)
CMYKcmyk(0%, 73.5%, 28.5%, 40.8%)
CIE-LABlab(36.33, 51.82, -13.30)
CIE-LCHlch(36.33, 53.50, 345.60°)
OKLaboklab(47.25% 0.1576 -0.0351)
OKLCHoklch(47.25% 0.161 347.5)
XYZxyz(16.2288, 9.1814, 15.1020)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97286C #289753
analogous
#8A2897 #97286C #972835
triadic
#97286C #6C9728 #286C97
tetradic
#97286C #978A28 #289753 #283597
square
#97286C #978A28 #289753 #283597
split-complementary
#97286C #359728 #28978A
monochromatic
#360E27 #671B49 #97286C #C7358F #D664AA

Accessibility & contrast

On white

7.40
#97286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#97286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97286C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97286C#FFFFFF#000000##FFFFFF
##97286C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#585C69
Tritanopia (blue-blind)
#A22446
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97286c;
/* rgb */ color: rgb(151, 40, 108);
/* oklch */ color: oklch(47.2% 0.161 347.5);
Tailwind
colors: {
  custom: {
    50: '#b96c96',
    500: '#97286c',
    950: '#000000',
  },
}
SCSS
$custom: #97286c;
$custom-light: #b96c96;
$custom-dark: #000000;
JSON
{
  "hex": "#97286c",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 323.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.16143,
    "h": 347.5
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#97286C
secondary
#5FBC83
accent
#E18246
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97286C

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

Preview Lab → · Contrast checker → · Palette generator →

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