#97237B#97237B

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

Color values

HEX#97237B
RGBrgb(151, 35, 123)
HSLhsl(314, 62%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 76.8%, 18.5%, 40.8%)
CIE-LABlab(36.39, 55.55, -22.64)
CIE-LCHlch(36.39, 59.99, 337.83°)
OKLaboklab(47.51% 0.1656 -0.0612)
OKLCHoklch(47.51% 0.177 339.7)
XYZxyz(16.9391, 9.2131, 19.6213)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97237B #23973F
analogous
#792397 #97237B #972341
triadic
#97237B #7B9723 #237B97
tetradic
#97237B #977923 #23973F #234197
square
#97237B #977923 #23973F #234197
split-complementary
#97237B #419723 #239779
monochromatic
#340C2A #651753 #97237B #C92FA3 #D95BBB

Accessibility & contrast

On white

7.39
#97237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#97237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97237B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97237B#FFFFFF#000000##FFFFFF
##97237B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A0274D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97237b;
/* rgb */ color: rgb(151, 35, 123);
/* oklch */ color: oklch(47.5% 0.177 339.7);
Tailwind
colors: {
  custom: {
    50: '#b96ba1',
    500: '#97237b',
    950: '#000000',
  },
}
SCSS
$custom: #97237b;
$custom-light: #b96ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#97237b",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 314.483,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.17654,
    "h": 339.7
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#97237B
secondary
#58BE71
accent
#E56A42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97237B

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

Preview Lab → · Contrast checker → · Palette generator →

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