#972052#972052

#972052 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.158 H 0.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#972052
RGBrgb(151, 32, 82)
HSLhsl(335, 65%, 36%)
HSVhsv(335, 79%, 59%)
CMYKcmyk(0%, 78.8%, 45.7%, 40.8%)
CIE-LABlab(34.44, 51.58, 0.54)
CIE-LCHlch(34.44, 51.59, 0.60°)
OKLaboklab(45.56% 0.1584 0.002)
OKLCHoklch(45.56% 0.158 0.7)
XYZxyz(14.8032, 8.2235, 8.7888)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972052 #209765
analogous
#97208D #972052 #972A20
triadic
#972052 #529720 #205297
tetradic
#972052 #8D9720 #209765 #2A2097
square
#972052 #8D9720 #209765 #2A2097
split-complementary
#972052 #20972A #208D97
monochromatic
#320B1B #641537 #972052 #C92B6D #DB568E

Accessibility & contrast

On white

7.94
#972052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#972052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972052
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972052#FFFFFF#000000##FFFFFF
##9720521.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A40536
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972052;
/* rgb */ color: rgb(151, 32, 82);
/* oklch */ color: oklch(45.6% 0.158 0.7);
Tailwind
colors: {
  custom: {
    50: '#bb6882',
    500: '#972052',
    950: '#000000',
  },
}
SCSS
$custom: #972052;
$custom-light: #bb6882;
$custom-dark: #000000;
JSON
{
  "hex": "#972052",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 334.79,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.15842,
    "h": 0.7
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#972052
secondary
#54BF92
accent
#E8A140
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972052

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

Preview Lab → · Contrast checker → · Palette generator →

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