#97297A#97297A

#97297A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.169 H 340.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#97297A
RGBrgb(151, 41, 122)
HSLhsl(316, 57%, 38%)
HSVhsv(316, 73%, 59%)
CMYKcmyk(0%, 72.8%, 19.2%, 40.8%)
CIE-LABlab(37.06, 53.37, -20.97)
CIE-LCHlch(37.06, 57.34, 338.55°)
OKLaboklab(47.98% 0.1593 -0.0565)
OKLCHoklch(47.98% 0.169 340.5)
XYZxyz(17.0688, 9.5720, 19.3572)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297A #299746
analogous
#7D2997 #97297A #972943
triadic
#97297A #7A9729 #297A97
tetradic
#97297A #977D29 #299746 #294397
square
#97297A #977D29 #299746 #294397
split-complementary
#97297A #439729 #29977D
monochromatic
#370F2C #671C53 #97297A #C736A1 #D565B8

Accessibility & contrast

On white

7.21
#97297A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#97297A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97297A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297A#FFFFFF#000000##FFFFFF
##97297A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A02C4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97297a;
/* rgb */ color: rgb(151, 41, 122);
/* oklch */ color: oklch(48.0% 0.169 340.5);
Tailwind
colors: {
  custom: {
    50: '#b96da0',
    500: '#97297a',
    950: '#000000',
  },
}
SCSS
$custom: #97297a;
$custom-light: #b96da0;
$custom-dark: #000000;
JSON
{
  "hex": "#97297a",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 315.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.169,
    "h": 340.5
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#97297A
secondary
#61BB78
accent
#E17047
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #97297A

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

Preview Lab → · Contrast checker → · Palette generator →

#97297A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva