#97247C#97247C

#97247C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 339.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#97247C
RGBrgb(151, 36, 124)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 76%, 59%)
CMYKcmyk(0%, 76.2%, 17.9%, 40.8%)
CIE-LABlab(36.55, 55.37, -23.01)
CIE-LCHlch(36.55, 59.96, 337.43°)
OKLaboklab(47.64% 0.1648 -0.0623)
OKLCHoklch(47.64% 0.176 339.3)
XYZxyz(17.0319, 9.2980, 19.9626)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247C #24973F
analogous
#792497 #97247C #972443
triadic
#97247C #7C9724 #247C97
tetradic
#97247C #977924 #24973F #244397
square
#97247C #977924 #24973F #244397
split-complementary
#97247C #439724 #249779
monochromatic
#340C2B #661853 #97247C #C830A5 #D85DBB

Accessibility & contrast

On white

7.34
#97247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#97247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97247C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247C#FFFFFF#000000##FFFFFF
##97247C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A0294D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247c;
/* rgb */ color: rgb(151, 36, 124);
/* oklch */ color: oklch(47.6% 0.176 339.3);
Tailwind
colors: {
  custom: {
    50: '#b96ba2',
    500: '#97247c',
    950: '#000000',
  },
}
SCSS
$custom: #97247c;
$custom-light: #b96ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#97247c",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 314.087,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.17613,
    "h": 339.3
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#97247C
secondary
#5ABD71
accent
#E56943
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97247C

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

Preview Lab → · Contrast checker → · Palette generator →

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