#97297B#97297B

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

Color values

HEX#97297B
RGBrgb(151, 41, 123)
HSLhsl(315, 57%, 38%)
HSVhsv(315, 73%, 59%)
CMYKcmyk(0%, 72.8%, 18.5%, 40.8%)
CIE-LABlab(37.11, 53.52, -21.52)
CIE-LCHlch(37.11, 57.68, 338.09°)
OKLaboklab(48.03% 0.1594 -0.0581)
OKLCHoklch(48.03% 0.17 340)
XYZxyz(17.1310, 9.5969, 19.6852)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297B #299745
analogous
#7C2997 #97297B #972944
triadic
#97297B #7B9729 #297B97
tetradic
#97297B #977C29 #299745 #294497
square
#97297B #977C29 #299745 #294497
split-complementary
#97297B #449729 #29977C
monochromatic
#370F2D #671C54 #97297B #C736A2 #D565B9

Accessibility & contrast

On white

7.19
#97297B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#97297B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97297B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297B#FFFFFF#000000##FFFFFF
##97297B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A02C4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97297b;
/* rgb */ color: rgb(151, 41, 123);
/* oklch */ color: oklch(48.0% 0.170 340.0);
Tailwind
colors: {
  custom: {
    50: '#b96da1',
    500: '#97297b',
    950: '#000000',
  },
}
SCSS
$custom: #97297b;
$custom-light: #b96da1;
$custom-dark: #000000;
JSON
{
  "hex": "#97297b",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 315.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.16968,
    "h": 340
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#97297B
secondary
#61BB78
accent
#E16E47
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #97297B

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

Preview Lab → · Contrast checker → · Palette generator →

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