#972072#972072

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

Color values

HEX#972072
RGBrgb(151, 32, 114)
HSLhsl(319, 65%, 36%)
HSVhsv(319, 79%, 59%)
CMYKcmyk(0%, 78.8%, 24.5%, 40.8%)
CIE-LABlab(35.65, 55.25, -18.13)
CIE-LCHlch(35.65, 58.15, 341.83°)
OKLaboklab(46.84% 0.167 -0.0485)
OKLCHoklch(46.84% 0.174 343.8)
XYZxyz(16.3169, 8.8290, 16.7612)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972072 #209745
analogous
#802097 #972072 #972037
triadic
#972072 #729720 #207297
tetradic
#972072 #978020 #209745 #203797
square
#972072 #978020 #209745 #203797
split-complementary
#972072 #379720 #209780
monochromatic
#320B26 #64154C #972072 #C92B98 #DB56B2

Accessibility & contrast

On white

7.59
#972072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#972072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972072
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972072#FFFFFF#000000##FFFFFF
##9720721.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#A11F47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972072;
/* rgb */ color: rgb(151, 32, 114);
/* oklch */ color: oklch(46.8% 0.174 343.8);
Tailwind
colors: {
  custom: {
    50: '#ba699a',
    500: '#972072',
    950: '#000000',
  },
}
SCSS
$custom: #972072;
$custom-light: #ba699a;
$custom-dark: #000000;
JSON
{
  "hex": "#972072",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 318.655,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.1739,
    "h": 343.8
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#972072
secondary
#54BF75
accent
#E87440
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #972072

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

Preview Lab → · Contrast checker → · Palette generator →

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