#97297C#97297C

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

Color values

HEX#97297C
RGBrgb(151, 41, 124)
HSLhsl(315, 57%, 38%)
HSVhsv(315, 73%, 59%)
CMYKcmyk(0%, 72.8%, 17.9%, 40.8%)
CIE-LABlab(37.16, 53.66, -22.07)
CIE-LCHlch(37.16, 58.02, 337.64°)
OKLaboklab(48.08% 0.1596 -0.0596)
OKLCHoklch(48.08% 0.17 339.5)
XYZxyz(17.1940, 9.6221, 20.0166)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297C #299744
analogous
#7B2997 #97297C #972945
triadic
#97297C #7C9729 #297C97
tetradic
#97297C #977B29 #299744 #294597
square
#97297C #977B29 #299744 #294597
split-complementary
#97297C #459729 #29977B
monochromatic
#370F2D #671C54 #97297C #C736A4 #D565BA

Accessibility & contrast

On white

7.18
#97297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97297C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297C#FFFFFF#000000##FFFFFF
##97297C1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A02D4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97297c;
/* rgb */ color: rgb(151, 41, 124);
/* oklch */ color: oklch(48.1% 0.170 339.5);
Tailwind
colors: {
  custom: {
    50: '#b96da2',
    500: '#97297c',
    950: '#000000',
  },
}
SCSS
$custom: #97297c;
$custom-light: #b96da2;
$custom-dark: #000000;
JSON
{
  "hex": "#97297c",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 314.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.17036,
    "h": 339.5
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#97297C
secondary
#61BB77
accent
#E16D47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97297C

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

Preview Lab → · Contrast checker → · Palette generator →

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