#97247A#97247A

#97247A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.175 H 340.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#97247A
RGBrgb(151, 36, 122)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 76%, 59%)
CMYKcmyk(0%, 76.2%, 19.2%, 40.8%)
CIE-LABlab(36.46, 55.09, -21.91)
CIE-LCHlch(36.46, 59.28, 338.31°)
OKLaboklab(47.54% 0.1645 -0.0591)
OKLCHoklch(47.54% 0.175 340.2)
XYZxyz(16.9067, 9.2479, 19.3032)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247A #249741
analogous
#7B2497 #97247A #972441
triadic
#97247A #7A9724 #247A97
tetradic
#97247A #977B24 #249741 #244197
square
#97247A #977B24 #249741 #244197
split-complementary
#97247A #419724 #24977B
monochromatic
#340C2A #661852 #97247A #C830A2 #D85DB9

Accessibility & contrast

On white

7.37
#97247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#97247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97247A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247A#FFFFFF#000000##FFFFFF
##97247A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#A0284C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247a;
/* rgb */ color: rgb(151, 36, 122);
/* oklch */ color: oklch(47.5% 0.175 340.2);
Tailwind
colors: {
  custom: {
    50: '#b96ba0',
    500: '#97247a',
    950: '#000000',
  },
}
SCSS
$custom: #97247a;
$custom-light: #b96ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#97247a",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 315.13,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47539,
    "c": 0.17478,
    "h": 340.2
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#97247A
secondary
#5ABD73
accent
#E56C43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97247A

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

Preview Lab → · Contrast checker → · Palette generator →

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