#97237F#97237F

#97237F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.179 H 337.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#97237F
RGBrgb(151, 35, 127)
HSLhsl(312, 62%, 36%)
HSVhsv(312, 77%, 59%)
CMYKcmyk(0%, 76.8%, 15.9%, 40.8%)
CIE-LABlab(36.58, 56.13, -24.83)
CIE-LCHlch(36.58, 61.37, 336.14°)
OKLaboklab(47.71% 0.1661 -0.0674)
OKLCHoklch(47.71% 0.179 337.9)
XYZxyz(17.1947, 9.3153, 20.9670)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97237F #23973B
analogous
#752397 #97237F #972345
triadic
#97237F #7F9723 #237F97
tetradic
#97237F #977523 #23973B #234597
square
#97237F #977523 #23973B #234597
split-complementary
#97237F #459723 #239775
monochromatic
#340C2B #651755 #97237F #C92FA9 #D95BBF

Accessibility & contrast

On white

7.34
#97237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#97237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97237F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97237F#FFFFFF#000000##FFFFFF
##97237F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97237f;
/* rgb */ color: rgb(151, 35, 127);
/* oklch */ color: oklch(47.7% 0.179 337.9);
Tailwind
colors: {
  custom: {
    50: '#b96ba4',
    500: '#97237f',
    950: '#000000',
  },
}
SCSS
$custom: #97237f;
$custom-light: #b96ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#97237f",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 312.414,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.17925,
    "h": 337.9
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#97237F
secondary
#58BE6D
accent
#E56442
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97237F

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

Preview Lab → · Contrast checker → · Palette generator →

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