#97237D#97237D

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

Color values

HEX#97237D
RGBrgb(151, 35, 125)
HSLhsl(313, 62%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 76.8%, 17.2%, 40.8%)
CIE-LABlab(36.49, 55.84, -23.74)
CIE-LCHlch(36.49, 60.67, 336.97°)
OKLaboklab(47.61% 0.1659 -0.0643)
OKLCHoklch(47.61% 0.178 338.8)
XYZxyz(17.0656, 9.2637, 20.2874)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97237D #23973D
analogous
#772397 #97237D #972343
triadic
#97237D #7D9723 #237D97
tetradic
#97237D #977723 #23973D #234397
square
#97237D #977723 #23973D #234397
split-complementary
#97237D #439723 #239777
monochromatic
#340C2B #651754 #97237D #C92FA6 #D95BBD

Accessibility & contrast

On white

7.36
#97237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97237D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97237D#FFFFFF#000000##FFFFFF
##97237D1.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)
#2A4A7F
Deuteranopia (green-blind)
#515C7A
Tritanopia (blue-blind)
#A0284E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97237d;
/* rgb */ color: rgb(151, 35, 125);
/* oklch */ color: oklch(47.6% 0.178 338.8);
Tailwind
colors: {
  custom: {
    50: '#b96ba3',
    500: '#97237d',
    950: '#000000',
  },
}
SCSS
$custom: #97237d;
$custom-light: #b96ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#97237d",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 313.448,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.17789,
    "h": 338.8
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#97237D
secondary
#58BE6F
accent
#E56742
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97237D

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

Preview Lab → · Contrast checker → · Palette generator →

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