#97247B#97247B

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

Color values

HEX#97247B
RGBrgb(151, 36, 123)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 76%, 59%)
CMYKcmyk(0%, 76.2%, 18.5%, 40.8%)
CIE-LABlab(36.50, 55.23, -22.46)
CIE-LCHlch(36.50, 59.62, 337.87°)
OKLaboklab(47.59% 0.1646 -0.0607)
OKLCHoklch(47.59% 0.175 339.8)
XYZxyz(16.9690, 9.2728, 19.6312)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247B #249740
analogous
#7A2497 #97247B #972442
triadic
#97247B #7B9724 #247B97
tetradic
#97247B #977A24 #249740 #244297
square
#97247B #977A24 #249740 #244297
split-complementary
#97247B #429724 #24977A
monochromatic
#340C2A #661853 #97247B #C830A3 #D85DBA

Accessibility & contrast

On white

7.36
#97247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97247B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247B#FFFFFF#000000##FFFFFF
##97247B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247b;
/* rgb */ color: rgb(151, 36, 123);
/* oklch */ color: oklch(47.6% 0.175 339.8);
Tailwind
colors: {
  custom: {
    50: '#b96ba1',
    500: '#97247b',
    950: '#000000',
  },
}
SCSS
$custom: #97247b;
$custom-light: #b96ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#97247b",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 314.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.17545,
    "h": 339.8
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#97247B
secondary
#5ABD72
accent
#E56A43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97247B

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

Preview Lab → · Contrast checker → · Palette generator →

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