#972371#972371

#972371 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.170 H 344.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#972371
RGBrgb(151, 35, 113)
HSLhsl(320, 62%, 36%)
HSVhsv(320, 77%, 59%)
CMYKcmyk(0%, 76.8%, 25.2%, 40.8%)
CIE-LABlab(35.94, 54.18, -17.06)
CIE-LCHlch(35.94, 56.80, 342.52°)
OKLaboklab(47.03% 0.1639 -0.0455)
OKLCHoklch(47.03% 0.17 344.5)
XYZxyz(16.3448, 8.9754, 16.4912)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972371 #239749
analogous
#832397 #972371 #972337
triadic
#972371 #719723 #237197
tetradic
#972371 #978323 #239749 #233797
square
#972371 #978323 #239749 #233797
split-complementary
#972371 #379723 #239783
monochromatic
#340C27 #65174C #972371 #C92F96 #D95BB0

Accessibility & contrast

On white

7.51
#972371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#972371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972371
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972371#FFFFFF#000000##FFFFFF
##9723711.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#555B6E
Tritanopia (blue-blind)
#A12247
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972371;
/* rgb */ color: rgb(151, 35, 113);
/* oklch */ color: oklch(47.0% 0.170 344.5);
Tailwind
colors: {
  custom: {
    50: '#ba6a9a',
    500: '#972371',
    950: '#000000',
  },
}
SCSS
$custom: #972371;
$custom-light: #ba6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972371",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 319.655,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.17013,
    "h": 344.5
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#972371
secondary
#58BE79
accent
#E57842
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972371

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

Preview Lab → · Contrast checker → · Palette generator →

#972371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva