#97297D#97297D

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

Color values

HEX#97297D
RGBrgb(151, 41, 125)
HSLhsl(314, 57%, 38%)
HSVhsv(314, 73%, 59%)
CMYKcmyk(0%, 72.8%, 17.2%, 40.8%)
CIE-LABlab(37.20, 53.81, -22.62)
CIE-LCHlch(37.20, 58.37, 337.20°)
OKLaboklab(48.13% 0.1597 -0.0612)
OKLCHoklch(48.13% 0.171 339)
XYZxyz(17.2575, 9.6475, 20.3513)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297D #299743
analogous
#7A2997 #97297D #972946
triadic
#97297D #7D9729 #297D97
tetradic
#97297D #977A29 #299743 #294697
square
#97297D #977A29 #299743 #294697
split-complementary
#97297D #469729 #29977A
monochromatic
#370F2D #671C55 #97297D #C736A5 #D565BB

Accessibility & contrast

On white

7.17
#97297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#97297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97297D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297D#FFFFFF#000000##FFFFFF
##97297D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A02D4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97297d;
/* rgb */ color: rgb(151, 41, 125);
/* oklch */ color: oklch(48.1% 0.171 339.0);
Tailwind
colors: {
  custom: {
    50: '#b96da3',
    500: '#97297d',
    950: '#000000',
  },
}
SCSS
$custom: #97297d;
$custom-light: #b96da3;
$custom-dark: #000000;
JSON
{
  "hex": "#97297d",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 314.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.17105,
    "h": 339
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#97297D
secondary
#61BB76
accent
#E16B47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97297D

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

Preview Lab → · Contrast checker → · Palette generator →

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