#97297E#97297E

#97297E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 338.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#97297E
RGBrgb(151, 41, 126)
HSLhsl(314, 57%, 38%)
HSVhsv(314, 73%, 59%)
CMYKcmyk(0%, 72.8%, 16.6%, 40.8%)
CIE-LABlab(37.25, 53.96, -23.17)
CIE-LCHlch(37.25, 58.72, 336.76°)
OKLaboklab(48.17% 0.1599 -0.0628)
OKLCHoklch(48.17% 0.172 338.6)
XYZxyz(17.3217, 9.6732, 20.6895)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297E #299742
analogous
#792997 #97297E #972947
triadic
#97297E #7E9729 #297E97
tetradic
#97297E #977929 #299742 #294797
square
#97297E #977929 #299742 #294797
split-complementary
#97297E #479729 #299779
monochromatic
#370F2E #671C56 #97297E #C736A6 #D565BC

Accessibility & contrast

On white

7.16
#97297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97297E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297E#FFFFFF#000000##FFFFFF
##97297E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A02E50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97297e;
/* rgb */ color: rgb(151, 41, 126);
/* oklch */ color: oklch(48.2% 0.172 338.6);
Tailwind
colors: {
  custom: {
    50: '#b96da3',
    500: '#97297e',
    950: '#000000',
  },
}
SCSS
$custom: #97297e;
$custom-light: #b96da3;
$custom-dark: #000000;
JSON
{
  "hex": "#97297e",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 313.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.17175,
    "h": 338.6
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#97297E
secondary
#61BB75
accent
#E16A47
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97297E

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

Preview Lab → · Contrast checker → · Palette generator →

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