#97286D#97286D

#97286D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.162 H 346.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#97286D
RGBrgb(151, 40, 109)
HSLhsl(323, 58%, 37%)
HSVhsv(323, 74%, 59%)
CMYKcmyk(0%, 73.5%, 27.8%, 40.8%)
CIE-LABlab(36.37, 51.95, -13.87)
CIE-LCHlch(36.37, 53.77, 345.05°)
OKLaboklab(47.29% 0.1578 -0.0366)
OKLCHoklch(47.29% 0.162 346.9)
XYZxyz(16.2823, 9.2028, 15.3839)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97286D #289752
analogous
#8A2897 #97286D #972835
triadic
#97286D #6D9728 #286D97
tetradic
#97286D #978A28 #289752 #283597
square
#97286D #978A28 #289752 #283597
split-complementary
#97286D #359728 #28978A
monochromatic
#360E27 #671B4A #97286D #C73590 #D664AB

Accessibility & contrast

On white

7.39
#97286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97286D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97286D#FFFFFF#000000##FFFFFF
##97286D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#585C6A
Tritanopia (blue-blind)
#A22447
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97286d;
/* rgb */ color: rgb(151, 40, 109);
/* oklch */ color: oklch(47.3% 0.162 346.9);
Tailwind
colors: {
  custom: {
    50: '#b96c97',
    500: '#97286d',
    950: '#000000',
  },
}
SCSS
$custom: #97286d;
$custom-light: #b96c97;
$custom-dark: #000000;
JSON
{
  "hex": "#97286d",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 322.703,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.162,
    "h": 346.9
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#97286D
secondary
#5FBC82
accent
#E18146
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97286D

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

Preview Lab → · Contrast checker → · Palette generator →

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