#97247F#97247F

#97247F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 337.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#97247F
RGBrgb(151, 36, 127)
HSLhsl(313, 61%, 37%)
HSVhsv(313, 76%, 59%)
CMYKcmyk(0%, 76.2%, 15.9%, 40.8%)
CIE-LABlab(36.70, 55.81, -24.66)
CIE-LCHlch(36.70, 61.01, 336.16°)
OKLaboklab(47.79% 0.1651 -0.0669)
OKLCHoklch(47.79% 0.178 337.9)
XYZxyz(17.2245, 9.3750, 20.9770)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247F #24973C
analogous
#762497 #97247F #972446
triadic
#97247F #7F9724 #247F97
tetradic
#97247F #977624 #24973C #244697
square
#97247F #977624 #24973C #244697
split-complementary
#97247F #469724 #249776
monochromatic
#340C2C #661855 #97247F #C830A9 #D85DBF

Accessibility & contrast

On white

7.31
#97247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#97247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97247F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247F#FFFFFF#000000##FFFFFF
##97247F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A02A4F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247f;
/* rgb */ color: rgb(151, 36, 127);
/* oklch */ color: oklch(47.8% 0.178 337.9);
Tailwind
colors: {
  custom: {
    50: '#b96ba4',
    500: '#97247f',
    950: '#000000',
  },
}
SCSS
$custom: #97247f;
$custom-light: #b96ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#97247f",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 312.522,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.17818,
    "h": 337.9
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#97247F
secondary
#5ABD6E
accent
#E56543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97247F

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

Preview Lab → · Contrast checker → · Palette generator →

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