#972752#972752

#972752 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.151 H 1.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#972752
RGBrgb(151, 39, 82)
HSLhsl(337, 59%, 37%)
HSVhsv(337, 74%, 59%)
CMYKcmyk(0%, 74.2%, 45.7%, 40.8%)
CIE-LABlab(35.28, 49.22, 1.76)
CIE-LCHlch(35.28, 49.25, 2.05°)
OKLaboklab(46.18% 0.1508 0.0051)
OKLCHoklch(46.18% 0.151 1.9)
XYZxyz(15.0122, 8.6415, 8.8585)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972752 #27976C
analogous
#97278A #972752 #973427
triadic
#972752 #529727 #275297
tetradic
#972752 #8A9727 #27976C #342797
square
#972752 #8A9727 #27976C #342797
split-complementary
#972752 #279734 #278A97
monochromatic
#360E1D #661A38 #972752 #C8346C #D6628F

Accessibility & contrast

On white

7.70
#972752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#972752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972752
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972752#FFFFFF#000000##FFFFFF
##9727521.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A41439
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972752;
/* rgb */ color: rgb(151, 39, 82);
/* oklch */ color: oklch(46.2% 0.151 1.9);
Tailwind
colors: {
  custom: {
    50: '#bb6b82',
    500: '#972752',
    950: '#000000',
  },
}
SCSS
$custom: #972752;
$custom-light: #bb6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#972752",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 336.964,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.15093,
    "h": 1.9
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#972752
secondary
#5EBC98
accent
#E2A646
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972752

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

Preview Lab → · Contrast checker → · Palette generator →

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