#97236F#97236F

#97236F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.169 H 345.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97236F
RGBrgb(151, 35, 111)
HSLhsl(321, 62%, 36%)
HSVhsv(321, 77%, 59%)
CMYKcmyk(0%, 76.8%, 26.5%, 40.8%)
CIE-LABlab(35.85, 53.92, -15.93)
CIE-LCHlch(35.85, 56.22, 343.54°)
OKLaboklab(46.94% 0.1635 -0.0423)
OKLCHoklch(46.94% 0.169 345.5)
XYZxyz(16.2335, 8.9308, 15.9048)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97236F #23974B
analogous
#852397 #97236F #972335
triadic
#97236F #6F9723 #236F97
tetradic
#97236F #978523 #23974B #233597
square
#97236F #978523 #23974B #233597
split-complementary
#97236F #359723 #239785
monochromatic
#340C26 #65174A #97236F #C92F94 #D95BAE

Accessibility & contrast

On white

7.54
#97236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#97236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97236F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97236F#FFFFFF#000000##FFFFFF
##97236F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#555B6C
Tritanopia (blue-blind)
#A12146
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97236f;
/* rgb */ color: rgb(151, 35, 111);
/* oklch */ color: oklch(46.9% 0.169 345.5);
Tailwind
colors: {
  custom: {
    50: '#ba6a98',
    500: '#97236f',
    950: '#000000',
  },
}
SCSS
$custom: #97236f;
$custom-light: #ba6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#97236f",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 320.69,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46939,
    "c": 0.16893,
    "h": 345.5
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#97236F
secondary
#58BE7B
accent
#E57B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97236F

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

Preview Lab → · Contrast checker → · Palette generator →

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