#972462#972462

#972462 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.161 H 352.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#972462
RGBrgb(151, 36, 98)
HSLhsl(328, 61%, 37%)
HSVhsv(328, 76%, 59%)
CMYKcmyk(0%, 76.2%, 35.1%, 40.8%)
CIE-LABlab(35.45, 51.99, -8.28)
CIE-LCHlch(35.45, 52.64, 350.95°)
OKLaboklab(46.48% 0.1593 -0.0213)
OKLCHoklch(46.48% 0.161 352.4)
XYZxyz(15.5989, 8.7248, 12.4155)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972462 #249759
analogous
#932497 #972462 #972429
triadic
#972462 #629724 #246297
tetradic
#972462 #979324 #249759 #242997
square
#972462 #979324 #249759 #242997
split-complementary
#972462 #299724 #249793
monochromatic
#340C22 #661842 #972462 #C83082 #D85DA0

Accessibility & contrast

On white

7.65
#972462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#972462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972462
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972462#FFFFFF#000000##FFFFFF
##9724621.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#595B5F
Tritanopia (blue-blind)
#A31A40
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972462;
/* rgb */ color: rgb(151, 36, 98);
/* oklch */ color: oklch(46.5% 0.161 352.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a8e',
    500: '#972462',
    950: '#000000',
  },
}
SCSS
$custom: #972462;
$custom-light: #ba6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#972462",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 327.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.16076,
    "h": 352.4
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#972462
secondary
#5ABD88
accent
#E58E43
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972462

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

Preview Lab → · Contrast checker → · Palette generator →

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