#972062#972062

#972062 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.165 H 351.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#972062
RGBrgb(151, 32, 98)
HSLhsl(327, 65%, 36%)
HSVhsv(327, 79%, 59%)
CMYKcmyk(0%, 78.8%, 35.1%, 40.8%)
CIE-LABlab(35.00, 53.27, -8.96)
CIE-LCHlch(35.00, 54.02, 350.45°)
OKLaboklab(46.15% 0.1634 -0.0231)
OKLCHoklch(46.15% 0.165 351.9)
XYZxyz(15.4846, 8.4961, 12.3774)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972062 #209755
analogous
#902097 #972062 #972026
triadic
#972062 #629720 #206297
tetradic
#972062 #979020 #209755 #202697
square
#972062 #979020 #209755 #202697
split-complementary
#972062 #269720 #209790
monochromatic
#320B20 #641541 #972062 #C92B83 #DB56A0

Accessibility & contrast

On white

7.78
#972062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#972062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972062
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972062#FFFFFF#000000##FFFFFF
##9720621.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364564
Deuteranopia (green-blind)
#585A5F
Tritanopia (blue-blind)
#A3143E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972062;
/* rgb */ color: rgb(151, 32, 98);
/* oklch */ color: oklch(46.1% 0.165 351.9);
Tailwind
colors: {
  custom: {
    50: '#ba698e',
    500: '#972062',
    950: '#000000',
  },
}
SCSS
$custom: #972062;
$custom-light: #ba698e;
$custom-dark: #000000;
JSON
{
  "hex": "#972062",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 326.723,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.16503,
    "h": 351.9
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#972062
secondary
#54BF84
accent
#E88B40
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972062

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

Preview Lab → · Contrast checker → · Palette generator →

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