#972071#972071

#972071 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.173 H 344.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#972071
RGBrgb(151, 32, 113)
HSLhsl(319, 65%, 36%)
HSVhsv(319, 79%, 59%)
CMYKcmyk(0%, 78.8%, 25.2%, 40.8%)
CIE-LABlab(35.61, 55.11, -17.57)
CIE-LCHlch(35.61, 57.85, 342.32°)
OKLaboklab(46.79% 0.1668 -0.0469)
OKLCHoklch(46.79% 0.173 344.3)
XYZxyz(16.2603, 8.8064, 16.4631)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972071 #209746
analogous
#812097 #972071 #972035
triadic
#972071 #719720 #207197
tetradic
#972071 #978120 #209746 #203597
square
#972071 #978120 #209746 #203597
split-complementary
#972071 #359720 #209781
monochromatic
#320B25 #64154B #972071 #C92B97 #DB56B1

Accessibility & contrast

On white

7.61
#972071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#972071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972071
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972071#FFFFFF#000000##FFFFFF
##9720711.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#A11F46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972071;
/* rgb */ color: rgb(151, 32, 113);
/* oklch */ color: oklch(46.8% 0.173 344.3);
Tailwind
colors: {
  custom: {
    50: '#ba699a',
    500: '#972071',
    950: '#000000',
  },
}
SCSS
$custom: #972071;
$custom-light: #ba699a;
$custom-dark: #000000;
JSON
{
  "hex": "#972071",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 319.16,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46792,
    "c": 0.17329,
    "h": 344.3
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#972071
secondary
#54BF76
accent
#E87640
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972071

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

Preview Lab → · Contrast checker → · Palette generator →

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