#97247D#97247D

#97247D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 338.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#97247D
RGBrgb(151, 36, 125)
HSLhsl(314, 61%, 37%)
HSVhsv(314, 76%, 59%)
CMYKcmyk(0%, 76.2%, 17.2%, 40.8%)
CIE-LABlab(36.60, 55.52, -23.56)
CIE-LCHlch(36.60, 60.31, 337.00°)
OKLaboklab(47.69% 0.1649 -0.0638)
OKLCHoklch(47.69% 0.177 338.8)
XYZxyz(17.0955, 9.3234, 20.2973)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247D #24973E
analogous
#782497 #97247D #972444
triadic
#97247D #7D9724 #247D97
tetradic
#97247D #977824 #24973E #244497
square
#97247D #977824 #24973E #244497
split-complementary
#97247D #449724 #249778
monochromatic
#340C2B #661854 #97247D #C830A6 #D85DBC

Accessibility & contrast

On white

7.33
#97247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97247D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247D#FFFFFF#000000##FFFFFF
##97247D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A0294E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247d;
/* rgb */ color: rgb(151, 36, 125);
/* oklch */ color: oklch(47.7% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#b96ba3',
    500: '#97247d',
    950: '#000000',
  },
}
SCSS
$custom: #97247d;
$custom-light: #b96ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#97247d",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 313.565,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.1768,
    "h": 338.8
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#97247D
secondary
#5ABD70
accent
#E56843
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97247D

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

Preview Lab → · Contrast checker → · Palette generator →

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