#972571#972571

#972571 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 344.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#972571
RGBrgb(151, 37, 113)
HSLhsl(320, 61%, 37%)
HSVhsv(320, 75%, 59%)
CMYKcmyk(0%, 75.5%, 25.2%, 40.8%)
CIE-LABlab(36.17, 53.52, -16.71)
CIE-LCHlch(36.17, 56.07, 342.67°)
OKLaboklab(47.2% 0.1619 -0.0445)
OKLCHoklch(47.2% 0.168 344.6)
XYZxyz(16.4054, 9.0965, 16.5114)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972571 #25974B
analogous
#842597 #972571 #972538
triadic
#972571 #719725 #257197
tetradic
#972571 #978425 #25974B #253897
square
#972571 #978425 #25974B #253897
split-complementary
#972571 #389725 #259784
monochromatic
#350D27 #66194C #972571 #C83196 #D85FAF

Accessibility & contrast

On white

7.45
#972571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#972571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972571
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972571#FFFFFF#000000##FFFFFF
##9725711.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A12448
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972571;
/* rgb */ color: rgb(151, 37, 113);
/* oklch */ color: oklch(47.2% 0.168 344.6);
Tailwind
colors: {
  custom: {
    50: '#b96b9a',
    500: '#972571',
    950: '#000000',
  },
}
SCSS
$custom: #972571;
$custom-light: #b96b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#972571",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 320,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47198,
    "c": 0.1679,
    "h": 344.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#972571
secondary
#5BBD7C
accent
#E47944
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972571

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

Preview Lab → · Contrast checker → · Palette generator →

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