#972168#972168

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

Color values

HEX#972168
RGBrgb(151, 33, 104)
HSLhsl(324, 64%, 36%)
HSVhsv(324, 78%, 59%)
CMYKcmyk(0%, 78.1%, 31.1%, 40.8%)
CIE-LABlab(35.34, 53.67, -12.28)
CIE-LCHlch(35.34, 55.06, 347.12°)
OKLaboklab(46.47% 0.164 -0.0322)
OKLCHoklch(46.47% 0.167 348.9)
XYZxyz(15.8059, 8.6683, 13.9348)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972168 #219750
analogous
#8B2197 #972168 #97212D
triadic
#972168 #689721 #216897
tetradic
#972168 #978B21 #219750 #212D97
square
#972168 #978B21 #219750 #212D97
split-complementary
#972168 #2D9721 #21978B
monochromatic
#330B23 #651645 #972168 #C92C8B #DA58A6

Accessibility & contrast

On white

7.68
#972168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#972168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972168
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972168#FFFFFF#000000##FFFFFF
##9721681.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466A
Deuteranopia (green-blind)
#575B65
Tritanopia (blue-blind)
#A21A42
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972168;
/* rgb */ color: rgb(151, 33, 104);
/* oklch */ color: oklch(46.5% 0.167 348.9);
Tailwind
colors: {
  custom: {
    50: '#ba6993',
    500: '#972168',
    950: '#000000',
  },
}
SCSS
$custom: #972168;
$custom-light: #ba6993;
$custom-dark: #000000;
JSON
{
  "hex": "#972168",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 323.898,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.16709,
    "h": 348.9
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#972168
secondary
#55BE7F
accent
#E78341
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #972168

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

Preview Lab → · Contrast checker → · Palette generator →

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