#972166#972166

#972166 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.166 H 349.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#972166
RGBrgb(151, 33, 102)
HSLhsl(325, 64%, 36%)
HSVhsv(325, 78%, 59%)
CMYKcmyk(0%, 78.1%, 32.5%, 40.8%)
CIE-LABlab(35.26, 53.43, -11.12)
CIE-LCHlch(35.26, 54.58, 348.24°)
OKLaboklab(46.39% 0.1635 -0.029)
OKLCHoklch(46.39% 0.166 349.9)
XYZxyz(15.7055, 8.6282, 13.4061)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972166 #219752
analogous
#8D2197 #972166 #97212B
triadic
#972166 #669721 #216697
tetradic
#972166 #978D21 #219752 #212B97
square
#972166 #978D21 #219752 #212B97
split-complementary
#972166 #2B9721 #21978D
monochromatic
#330B22 #651644 #972166 #C92C88 #DA58A4

Accessibility & contrast

On white

7.71
#972166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972166
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972166#FFFFFF#000000##FFFFFF
##9721661.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354668
Deuteranopia (green-blind)
#585A63
Tritanopia (blue-blind)
#A21941
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972166;
/* rgb */ color: rgb(151, 33, 102);
/* oklch */ color: oklch(46.4% 0.166 349.9);
Tailwind
colors: {
  custom: {
    50: '#ba6991',
    500: '#972166',
    950: '#000000',
  },
}
SCSS
$custom: #972166;
$custom-light: #ba6991;
$custom-dark: #000000;
JSON
{
  "hex": "#972166",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 324.915,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.16603,
    "h": 349.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#972166
secondary
#55BE81
accent
#E78641
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #972166

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

Preview Lab → · Contrast checker → · Palette generator →

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