#972162#972162

#972162 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.164 H 352.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#972162
RGBrgb(151, 33, 98)
HSLhsl(327, 64%, 36%)
HSVhsv(327, 78%, 59%)
CMYKcmyk(0%, 78.1%, 35.1%, 40.8%)
CIE-LABlab(35.10, 52.96, -8.80)
CIE-LCHlch(35.10, 53.69, 350.57°)
OKLaboklab(46.23% 0.1624 -0.0227)
OKLCHoklch(46.23% 0.164 352)
XYZxyz(15.5119, 8.5507, 12.3865)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972162 #219756
analogous
#912197 #972162 #972127
triadic
#972162 #629721 #216297
tetradic
#972162 #979121 #219756 #212797
square
#972162 #979121 #219756 #212797
split-complementary
#972162 #279721 #219791
monochromatic
#330B21 #651641 #972162 #C92C83 #DA58A0

Accessibility & contrast

On white

7.75
#972162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972162
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972162#FFFFFF#000000##FFFFFF
##9721621.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374564
Deuteranopia (green-blind)
#595A5F
Tritanopia (blue-blind)
#A3163F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972162;
/* rgb */ color: rgb(151, 33, 98);
/* oklch */ color: oklch(46.2% 0.164 352.0);
Tailwind
colors: {
  custom: {
    50: '#ba698e',
    500: '#972162',
    950: '#000000',
  },
}
SCSS
$custom: #972162;
$custom-light: #ba698e;
$custom-dark: #000000;
JSON
{
  "hex": "#972162",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 326.949,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.164,
    "h": 352
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#972162
secondary
#55BE85
accent
#E78B41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972162

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

Preview Lab → · Contrast checker → · Palette generator →

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