#972562#972562

#972562 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.160 H 352.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#972562
RGBrgb(151, 37, 98)
HSLhsl(328, 61%, 37%)
HSVhsv(328, 75%, 59%)
CMYKcmyk(0%, 75.5%, 35.1%, 40.8%)
CIE-LABlab(35.57, 51.65, -8.10)
CIE-LCHlch(35.57, 52.28, 351.09°)
OKLaboklab(46.56% 0.1583 -0.0208)
OKLCHoklch(46.56% 0.16 352.5)
XYZxyz(15.6296, 8.7861, 12.4257)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972562 #25975A
analogous
#932597 #972562 #972529
triadic
#972562 #629725 #256297
tetradic
#972562 #979325 #25975A #252997
square
#972562 #979325 #25975A #252997
split-complementary
#972562 #299725 #259793
monochromatic
#350D22 #661942 #972562 #C83182 #D85F9F

Accessibility & contrast

On white

7.62
#972562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972562
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972562#FFFFFF#000000##FFFFFF
##9725621.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5A5B5F
Tritanopia (blue-blind)
#A31B40
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972562;
/* rgb */ color: rgb(151, 37, 98);
/* oklch */ color: oklch(46.6% 0.160 352.5);
Tailwind
colors: {
  custom: {
    50: '#ba6b8e',
    500: '#972562',
    950: '#000000',
  },
}
SCSS
$custom: #972562;
$custom-light: #ba6b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#972562",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 327.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.15964,
    "h": 352.5
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#972562
secondary
#5BBD88
accent
#E48E44
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972562

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

Preview Lab → · Contrast checker → · Palette generator →

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