#97286F#97286F

#97286F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.163 H 345.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#97286F
RGBrgb(151, 40, 111)
HSLhsl(322, 58%, 37%)
HSVhsv(322, 74%, 59%)
CMYKcmyk(0%, 73.5%, 26.5%, 40.8%)
CIE-LABlab(36.45, 52.21, -15.01)
CIE-LCHlch(36.45, 54.33, 343.96°)
OKLaboklab(47.38% 0.1583 -0.0398)
OKLCHoklch(47.38% 0.163 345.9)
XYZxyz(16.3912, 9.2463, 15.9574)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97286F #289750
analogous
#882897 #97286F #972837
triadic
#97286F #6F9728 #286F97
tetradic
#97286F #978828 #289750 #283797
square
#97286F #978828 #289750 #283797
split-complementary
#97286F #379728 #289788
monochromatic
#360E28 #671B4B #97286F #C73593 #D664AD

Accessibility & contrast

On white

7.37
#97286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#97286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97286F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97286F#FFFFFF#000000##FFFFFF
##97286F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#575D6C
Tritanopia (blue-blind)
#A12648
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97286f;
/* rgb */ color: rgb(151, 40, 111);
/* oklch */ color: oklch(47.4% 0.163 345.9);
Tailwind
colors: {
  custom: {
    50: '#b96c98',
    500: '#97286f',
    950: '#000000',
  },
}
SCSS
$custom: #97286f;
$custom-light: #b96c98;
$custom-dark: #000000;
JSON
{
  "hex": "#97286f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 321.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.16319,
    "h": 345.9
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#97286F
secondary
#5FBC80
accent
#E17E46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97286F

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

Preview Lab → · Contrast checker → · Palette generator →

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