#97237C#97237C

#97237C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.177 H 339.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#97237C
RGBrgb(151, 35, 124)
HSLhsl(314, 62%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 76.8%, 17.9%, 40.8%)
CIE-LABlab(36.44, 55.69, -23.19)
CIE-LCHlch(36.44, 60.33, 337.40°)
OKLaboklab(47.56% 0.1657 -0.0628)
OKLCHoklch(47.56% 0.177 339.3)
XYZxyz(17.0021, 9.2383, 19.9526)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97237C #23973E
analogous
#782397 #97237C #972342
triadic
#97237C #7C9723 #237C97
tetradic
#97237C #977823 #23973E #234297
square
#97237C #977823 #23973E #234297
split-complementary
#97237C #429723 #239778
monochromatic
#340C2A #651753 #97237C #C92FA5 #D95BBC

Accessibility & contrast

On white

7.38
#97237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#97237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97237C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97237C#FFFFFF#000000##FFFFFF
##97237C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A0284D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97237c;
/* rgb */ color: rgb(151, 35, 124);
/* oklch */ color: oklch(47.6% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#b96ba2',
    500: '#97237c',
    950: '#000000',
  },
}
SCSS
$custom: #97237c;
$custom-light: #b96ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#97237c",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 313.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.17721,
    "h": 339.3
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#97237C
secondary
#58BE70
accent
#E56842
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97237C

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

Preview Lab → · Contrast checker → · Palette generator →

#97237C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva