#97297F#97297F

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

Color values

HEX#97297F
RGBrgb(151, 41, 127)
HSLhsl(313, 57%, 38%)
HSVhsv(313, 73%, 59%)
CMYKcmyk(0%, 72.8%, 15.9%, 40.8%)
CIE-LABlab(37.30, 54.10, -23.72)
CIE-LCHlch(37.30, 59.08, 336.33°)
OKLaboklab(48.22% 0.16 -0.0643)
OKLCHoklch(48.22% 0.172 338.1)
XYZxyz(17.3866, 9.6991, 21.0310)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97297F #299741
analogous
#782997 #97297F #972948
triadic
#97297F #7F9729 #297F97
tetradic
#97297F #977829 #299741 #294897
square
#97297F #977829 #299741 #294897
split-complementary
#97297F #489729 #299778
monochromatic
#370F2E #671C57 #97297F #C736A7 #D565BD

Accessibility & contrast

On white

7.14
#97297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#97297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97297F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97297F#FFFFFF#000000##FFFFFF
##97297F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9F2E51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97297f;
/* rgb */ color: rgb(151, 41, 127);
/* oklch */ color: oklch(48.2% 0.172 338.1);
Tailwind
colors: {
  custom: {
    50: '#b96da4',
    500: '#97297f',
    950: '#000000',
  },
}
SCSS
$custom: #97297f;
$custom-light: #b96da4;
$custom-dark: #000000;
JSON
{
  "hex": "#97297f",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 313.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.17245,
    "h": 338.1
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#97297F
secondary
#61BB74
accent
#E16947
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97297F

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

Preview Lab → · Contrast checker → · Palette generator →

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