#97247E#97247E

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

Color values

HEX#97247E
RGBrgb(151, 36, 126)
HSLhsl(313, 61%, 37%)
HSVhsv(313, 76%, 59%)
CMYKcmyk(0%, 76.2%, 16.6%, 40.8%)
CIE-LABlab(36.65, 55.66, -24.11)
CIE-LCHlch(36.65, 60.66, 336.58°)
OKLaboklab(47.74% 0.165 -0.0654)
OKLCHoklch(47.74% 0.177 338.4)
XYZxyz(17.1597, 9.3491, 20.6354)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97247E #24973D
analogous
#772497 #97247E #972445
triadic
#97247E #7E9724 #247E97
tetradic
#97247E #977724 #24973D #244597
square
#97247E #977724 #24973D #244597
split-complementary
#97247E #459724 #249777
monochromatic
#340C2C #661855 #97247E #C830A7 #D85DBE

Accessibility & contrast

On white

7.32
#97247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97247E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97247E#FFFFFF#000000##FFFFFF
##97247E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A02A4E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97247e;
/* rgb */ color: rgb(151, 36, 126);
/* oklch */ color: oklch(47.7% 0.177 338.4);
Tailwind
colors: {
  custom: {
    50: '#b96ba3',
    500: '#97247e',
    950: '#000000',
  },
}
SCSS
$custom: #97247e;
$custom-light: #b96ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#97247e",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 313.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.17748,
    "h": 338.4
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#97247E
secondary
#5ABD6F
accent
#E56643
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97247E

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

Preview Lab → · Contrast checker → · Palette generator →

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