#972579#972579

#972579 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.173 H 340.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#972579
RGBrgb(151, 37, 121)
HSLhsl(316, 61%, 37%)
HSVhsv(316, 75%, 59%)
CMYKcmyk(0%, 75.5%, 19.9%, 40.8%)
CIE-LABlab(36.53, 54.62, -21.18)
CIE-LCHlch(36.53, 58.58, 338.81°)
OKLaboklab(47.57% 0.1633 -0.0571)
OKLCHoklch(47.57% 0.173 340.7)
XYZxyz(16.8758, 9.2846, 18.9888)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972579 #259743
analogous
#7C2597 #972579 #972540
triadic
#972579 #799725 #257997
tetradic
#972579 #977C25 #259743 #254097
square
#972579 #977C25 #259743 #254097
split-complementary
#972579 #409725 #25977C
monochromatic
#350D2A #661952 #972579 #C831A0 #D85FB8

Accessibility & contrast

On white

7.35
#972579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#972579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972579
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972579#FFFFFF#000000##FFFFFF
##9725791.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#A0284C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #972579;
/* rgb */ color: rgb(151, 37, 121);
/* oklch */ color: oklch(47.6% 0.173 340.7);
Tailwind
colors: {
  custom: {
    50: '#b96ba0',
    500: '#972579',
    950: '#000000',
  },
}
SCSS
$custom: #972579;
$custom-light: #b96ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#972579",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 315.789,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.173,
    "h": 340.7
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#972579
secondary
#5BBD75
accent
#E46E44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972579

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

Preview Lab → · Contrast checker → · Palette generator →

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