#972862#972862

#972862 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.156 H 352.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#972862
RGBrgb(151, 40, 98)
HSLhsl(329, 58%, 37%)
HSVhsv(329, 74%, 59%)
CMYKcmyk(0%, 73.5%, 35.1%, 40.8%)
CIE-LABlab(35.95, 50.59, -7.53)
CIE-LCHlch(35.95, 51.15, 351.53°)
OKLaboklab(46.84% 0.1549 -0.0193)
OKLCHoklch(46.84% 0.156 352.9)
XYZxyz(15.7268, 8.9806, 12.4581)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972862 #28975D
analogous
#952897 #972862 #97282A
triadic
#972862 #629728 #286297
tetradic
#972862 #979528 #28975D #282A97
square
#972862 #979528 #28975D #282A97
split-complementary
#972862 #2A9728 #289795
monochromatic
#360E23 #671B43 #972862 #C73581 #D6649F

Accessibility & contrast

On white

7.51
#972862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#972862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972862
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972862#FFFFFF#000000##FFFFFF
##9728621.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4864
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A31F41
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972862;
/* rgb */ color: rgb(151, 40, 98);
/* oklch */ color: oklch(46.8% 0.156 352.9);
Tailwind
colors: {
  custom: {
    50: '#ba6c8e',
    500: '#972862',
    950: '#000000',
  },
}
SCSS
$custom: #972862;
$custom-light: #ba6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#972862",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 328.649,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.15612,
    "h": 352.9
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#972862
secondary
#5FBC8B
accent
#E19046
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972862

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

Preview Lab → · Contrast checker → · Palette generator →

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